This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Who broke bootstrap!
> On i386-unknown-freebsd6.3 (instead of 8.0) I am getting the following
> for SVN revision 139789 and since 2008-08-25 21:00 UTC at least:
>
> /files/pfeifer/gcc/i386-unknown-freebsd6.3/sys-include -g -O2 -O2 -g -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include
> -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc
> -I/sw/test/GCC/trunk/libgcc -I/sw/test/GCC/trunk/libgcc/.
> -I/sw/test/GCC/trunk/libgcc/../gcc -I/sw/test/GCC/trunk/libgcc/../include
> -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
> /sw/test/GCC/trunk/libgcc/../gcc/libgcc2.c \
> /sw/test/GCC/trunk/libgcc/../gcc/libgcc2.c: In function '__muldi3':
> /sw/test/GCC/trunk/libgcc/../gcc/libgcc2.c:566: internal compiler error:
> Segmentation fault: 11
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> gmake[3]: *** [_muldi3.o] Error 1
> gmake[3]: Leaving directory
i586-linux is broken in exactly the same way. gimple.c:gimple_build_asm_vec
is miscompiled at -O2 -fomit-frame-pointer by regalloc/reload because of
inconsistent elimination offsets at a block boundary. It's the IRA merge.
I'd suggest opening a PR, I'll attach a reduced testcase and the analysis.
--
Eric Botcazou