This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/44462] Redundant looping pure functions whose return value is dead are not optimized out



------- Comment #4 from hubicka at ucw dot cz  2010-06-09 10:29 -------
Subject: Re:  Redundant looping pure functions
        whose return value is dead are not optimized out

> > >Why do we remove register LHS in DCE again? 
> > 
> > Because it reduces the amount of garbage produced by expand :).
> 
> Which means the expander could drop it ...

This won't save us from not optimizing out functions returning void.  They can
be looping pure too (most of sanity checks are)

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44462


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]