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/47392] [4.6 Regression] PRE opportunity no longer found


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-21 12:35:52 UTC ---
We don't do insertion because the redundancy is not along an edge that
is supposed to be optimize_edge_for_speed_p ().  But frequencies and
counts are the same as on the 4.5 branch!?  So it's probably the
optimize_function_for_size_p (main) issue again...  I wonder how many
wrong-code tortures no longer test what they used to test because of
this ...

Marking main () with attribute((hot)) makes PRE functional again.

Honza, I think the testing issue is a real problem for existing testcases.


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