[Bug target/32264] gcc 4.2.0 compiled vanilla kernel 2.4.34.5 crashes when VIA C3 optimized -march=c3

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Thu Aug 2 19:42:00 GMT 2007



------- Comment #14 from pluto at agmk dot net  2007-08-02 19:42 -------
yup, i see something new :)

please look at line 12137 of i8259.i:

__attribute__((regparm(0))) void call_do_IRQ(void); __asm__(...

as you can see there is a semicolon after call_do_IRQ(void)
and following asm statement isn't treated as a function body.
in this way -O1 -f{no-}unit-at-a-time accidentally produces
different code. it's not a gcc bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32264



More information about the Gcc-bugs mailing list