[Bug tree-optimization/60766] [4.8/4.9 Regression] Wrong optimization with -O2
mikpelinux at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 6 12:44:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60766
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #4 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 32552
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32552&action=edit
self-contained test case, compilable as C and C++
The wrong-code reproduces for me with gcc 4.7 and 4.8 on x86_64-linux. For
trunk it was fixed by r204515, which doesn't appear to be a wrong-code fix.
Backporting r204515 to 4.8 fixes the wrong-code there too, but I haven't tested
it beyond this test case.
More information about the Gcc-bugs
mailing list