[Bug tree-optimization/49140] [4.6 regression] wrong code with -O2 and -O3, not with -O3 -no-inline
grokbrsm at free dot fr
gcc-bugzilla@gcc.gnu.org
Thu Jul 14 22:10:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49140
Sébastien Kunz-Jacques <grokbrsm at free dot fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |grokbrsm at free dot fr
--- Comment #5 from Sébastien Kunz-Jacques <grokbrsm at free dot fr> 2011-07-14 22:09:11 UTC ---
(In reply to comment #4)
> GCC 4.6.1 is being released.
I see a similar bug with both gcc 4.6.0 and 4.6.1. In the library crypto++ (v.
5.6.1, http://www.cryptopp.com/), the algorithm Salsa20 produces wrong outputs
when compiling with -O, -O2, -O3, but the bug dissapears as soon as -fno-inline
is added. The output is always correct with gcc 4.5.x. These results were
obtained on a 64-bit linux platform (ubuntu 11.04).
I cannot post the source code that produces the errors; I do not have a reduced
test case.
More information about the Gcc-bugs
mailing list