This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49140] [4.6 regression] wrong code with -O2 and -O3, not with -O3 -no-inline
- 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: Wed, 20 Jul 2011 09:24:24 +0000
- Subject: [Bug tree-optimization/49140] [4.6 regression] wrong code with -O2 and -O3, not with -O3 -no-inline
- Auto-submitted: auto-generated
- References: <bug-49140-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49140
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Known to fail| |4.6.1
--- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-20 09:22:45 UTC ---
Confirmed. Works with -O0, fails with -O[12] at least. Still fails on the
4.6 branch.
Compiling salsa.cpp with -O1 is enough to trigger the error, compiling
salsa.cpp with -O0 is enough to mitigate it.