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/50204] [4.5/4.6/4.7 Regression] Missed fully redundant load found in crafty (SPEC 2k)


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-29 07:29:57 UTC ---
The loop over PHI args is a little hard to follow, but yeah, that's
how it should work.

Eventually we can put this in with a new --param telling the maximum
number of PHI args to consider (and defaulting it to two).  I'd probably
keep the n == 1 handling in the main function separately instead of
trying to handle it via the loop.  Then I'd pre-seed the first arg which
should make the loop a little easier to follow.


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