--- 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
--- Comment #13 from anirkko at insel dot ch 2007-05-07 10:33 ---
(In addition to comment #12)
PS: The above was done on sparcv9 (UltraSparc-III)
with Solaris 8. Thus, the bug is confirmed on
several machines with several versions of Solaris
and several versions of binutils
--- Comment #11 from anirkko at insel dot ch 2007-04-30 09:41 ---
(In reply to comment #10)
Therefore, I still think there is a bug in -O3. (alternatively, in the
combination of the two). Would you consider reopening this bug if it was
-O3?
(In this case, I might re-run the
--- Comment #9 from anirkko at insel dot ch 2007-04-23 11:35 ---
(In reply to comment #8)
The bootstrap works fine with all flags equal to '-O2'
Great, thanks for the confirmation.
Still worrysome, because somewhere in the installation instructions, it is
recommended to
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2007-04-23 11:55
---
It is in the main directory, file FAQ, section Optimizing the compiler
itself:
If you want to test a particular optimization option, it's useful to
try bootstrapping the compiler with that
--- Comment #7 from anirkko at insel dot ch 2007-04-18 14:24 ---
(In reply to comment #2)
Can you try without setting the CFLAGS, etc. because what might be happening
is
the base compiler miscompiling the new compiler?
The bootstrap works fine with all flags equal to '-O2'
Still
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2007-04-18 14:35
---
The bootstrap works fine with all flags equal to '-O2'
Great, thanks for the confirmation.
Still worrysome, because somewhere in the installation instructions, it is
recommended to bootstrap the compiler
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-04-16 07:00
---
Do really have a SuperSPARC? If no, remove the -mcpu=supersparc option, it is
totally untested these days. If so, I'd suggest to stick with a 3.x compiler
on this presumably old machine.
--
ebotcazou at gcc
--- Comment #4 from anirkko at insel dot ch 2007-04-16 09:15 ---
(In reply to comment #2)
Can you try without setting the CFLAGS, etc. because what might be happening
is
the base compiler miscompiling the new compiler?
Tried something slightly different: because this happened in
--- Comment #5 from anirkko at insel dot ch 2007-04-16 09:21 ---
(In reply to comment #3)
Do really have a SuperSPARC? If no, remove the -mcpu=supersparc option, it is
totally untested these days. If so, I'd suggest to stick with a 3.x compiler
on this presumably old machine.
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2007-04-16 09:59
---
Will try next without -O3 and other flags to see if one of these generate the
error.
Most likely I'd say. I happen to regularly bootstrap GCC 4.1.x with GCC 3.4.3
and the default options on Solaris 2.5.1 and
--- Comment #1 from anirkko at insel dot ch 2007-04-13 22:46 ---
*** Bug 31565 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31523
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-13 22:47 ---
Can you try without setting the CFLAGS, etc. because what might be happening is
the base compiler miscompiling the new compiler?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31523
13 matches
Mail list logo