DCE enhancement to delete dead vptr assignment

Paolo Bonzini bonzini@gnu.org
Mon Apr 19 18:21:00 GMT 2010

On 04/19/2010 07:13 PM, Xinliang David Li wrote:
> There are a couple of them which seem 'not safe' : get_alias_set,
> types_compatible, dup_lang_speficific_decl, fold_obj_type_ref,
> global_bindings etc.

Some of them are changed to language-independent ones in 

> The point is langhooks should not be there if there is no programmatic
> ways to make sure they are safe (the mechanism is broken if it relies
> on code reviewers)

This is a documentation problem.

> , and whatever project which relies on this should
> have plans to clean it up -- other optimizations should not be
> penalized for it.

This is a long-standing goal.


More information about the Gcc-patches mailing list