[Bug c/21688] New: gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc)
felix-gcc at fefe dot de
gcc-bugzilla@gcc.gnu.org
Fri May 20 22:24:00 GMT 2005
wget http://dl.fefe.de/crypt-bug.c
gcc4 -Os -o t crypt-bug.c
./t
# assertion failure
gcc4 -O -o t crypt-bug.c
./t
# works ok
reproduced on i386, x86_64 and using Apple's gcc 4 in Tiger.
--
Summary: gcc miscompiles with -Os (wrong code at least on i386,
x86_64 and ppc)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: felix-gcc at fefe dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21688
More information about the Gcc-bugs
mailing list