[Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)
anirkko at insel dot ch
gcc-bugzilla@gcc.gnu.org
Mon May 7 09:29:00 GMT 2007
------- Comment #12 from anirkko at insel dot ch 2007-05-07 10:29 -------
(In reply to comment #10)
...
> Yes, I'm going to reopen it, but I'm not sure someone will tackle it.
>
The culprit is -finline-functions:
The gcc man page says -O3 adds only 3 additional options. My bootstrapping
script tells me the bug is in -finline-functions. Base compiler = gcc-4.1.2
(itself built without error using -O2), target compiler also gcc-4.1.2, when
using -finline-functions as bootflags, the bootstrapped xgcc fails with
an ICE at exactly the same place as originally reported above.
Should -finline-functions be excluded from the default -O3 options?
(until mended. If it can't be trusted building the comopiler, can it be
trusted for anything else?)
keywords added:
build (problem occurs during bootstrap)
wrong-code (compiles and links xgcc, but then xgcc fails later)
ice-on-valid-code (the xgcc above fails with ICE during the build)
--
anirkko at insel dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build, ice-on-valid-code,
| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31523
More information about the Gcc-bugs
mailing list