[Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)

anirkko at insel dot ch gcc-bugzilla@gcc.gnu.org
Mon Apr 16 08:15:00 GMT 2007



------- 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 C++, I
bootstrapped
gcc-4.1.2 with lang=C,ada and it worked fine, error-free, including passing the
stage2 comparison passed. The resulting gcc-4.1.2 should now be enough to use
as base compiler to build everything else, including c++.
When doing this (same flags and options), I got exactly the same internal
compiler error again. Thus, both the base compiler gcc-3.4.3 and gcc-4.1.2 lead
to the same error.
Will try next without -O3 and other flags to see if one of these generate the
error.


-- 

anirkko at insel dot ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anirkko at insel dot ch


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



More information about the Gcc-bugs mailing list