This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)
- From: "anirkko at insel dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2007 09:29:02 -0000
- Subject: [Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)
- References: <bug-31523-14385@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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