Strange behaviour of gcc 20000325 w/o -fomit-frame-pointer

Philipp Thomas pthomas@suse.de
Sat Apr 1 08:49:00 GMT 2000


Something strange is happening at least on x86 linux. If you compile the
attached preprocessed program (comes drivers/pci, kernel 2.3.99-pre3) with
-O2, it will process the also attached pci.ids fragment like it should. If
you compile with "-O2 -fomit-frame-pointer", it will fail to do so.

compiler is  gcc version 2.96 20000325 (experimental)
compiled with -O2 -march=k6 -fschedule-insns2

libc is glibc-2.1.3 from SuSE Linux 6.4 (compiled with gcc 2.95.2)

Somebody able to tell me what's happening here?

Philipp



More information about the Gcc-bugs mailing list