gcc codegen bug
Pavel Cisler
pavel@eazel.com
Tue May 2 13:05:00 GMT 2000
Hi
I ran into what seems to be a codegen problem in egcs-2.91.66 in my code
and I'm sending you a small code snippet with the same symptoms. The
resulting binary will crash, according to gdb on line 22.
The incorrect crashing code is generated only when building at -O2, at
-O0, -O1 the code does not crash.
gcc version:
GNU CPP version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386
Linux/ELF)
compile line:
gcc -g -O2 bug.c -o bug
Thanks
Pavel Cisler
More information about the Gcc-bugs
mailing list