[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

peter at axium dot co.nz gcc-bugzilla@gcc.gnu.org
Fri Apr 5 03:51:00 GMT 2013


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

incrediball <peter at axium dot co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at axium dot co.nz

--- Comment #68 from incrediball <peter at axium dot co.nz> 2013-04-05 03:51:14 UTC ---
Is this problem resolved? The status is still set to "NEW" but "known to work"
shows that it either has been resolved in v4.7.0 or that version is somehow not
affected.

I spent the best part of this week trying to track this problem down. It was
VERY hard to reproduce but I eventually found that the -fschedule-insns2
compile option caused the problem. The code that was affected is almost exactly
the same as the test case in comment #1.



More information about the Gcc-bugs mailing list