[Bug tree-optimization/45122] [4.6 Regression] -funsafe-loop-optimizations causes FAIL: gcc.c-torture/execute/pr27285.c execution
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 16 08:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45122
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #22978|0 |1
is obsolete| |
--- Comment #8 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-16 08:32:33 UTC ---
Created attachment 22980
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22980
Patch that fixes the problem by discarding too unsafe optimizations
Oops, the first attachment was missing a refresh on the correct machine. This
is the version I meant to post. The one I posted before was was abandoned
approach that I had already started turning into what I meant to post, but that
would print a different warning for the case of multiple exits, rather than
being silent about the optimization it refused to perform.
More information about the Gcc-bugs
mailing list