This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47392] [4.6 Regression] PRE opportunity no longer found
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jan 2011 12:35:53 +0000
- Subject: [Bug tree-optimization/47392] [4.6 Regression] PRE opportunity no longer found
- Auto-submitted: auto-generated
- References: <bug-47392-4@http.gcc.gnu.org/bugzilla/>
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.