gcc-2.95 19990627 irix6 bootstrap fails with "-O3 -funroll-all-loops"

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sun Jun 27 15:11:00 GMT 1999


Snapshot:		gcc-2.95 19990627 (prerelease)
Platform:		mips-sgi-irix6.2
Stage1 compiler:	cc -n32
Assembler:		native
Linker:			native
BOOT_CFLAGS:		-g -O3 -funroll-all-loops


	I get an abort building the 2.95 branch in stage2 when using
-g -O3 -funroll-all-loops.


 > stage1/xgcc -Bstage1/ -B/usr/local/mips-sgi-irix6.2/bin/ -c -DIN_GCC
 > 	-g -O3 -funroll-all-loops -DHAVE_CONFIG_H -I.
 > 	-I../../egcs-2.95-CVS19990627/gcc
 > 	-I../../egcs-2.95-CVS19990627/gcc/config
 > 	-I../../egcs-2.95-CVS19990627/gcc/../include
 > 	../../egcs-2.95-CVS19990627/gcc/regclass.c
 > ../../egcs-2.95-CVS19990627/gcc/regclass.c: In function `init_reg_sets_1':
 > ../../egcs-2.95-CVS19990627/gcc/regclass.c:417: Internal compiler
 > 	error at dwarf2out.c:8720
 > make[2]: *** [regclass.o] Error 1


	Here is the relevant code from dwarf2out.c:8720:

 >   /* When optimization is enabled (via -O) some parts of the compiler
 >      (e.g. jump.c and cse.c) may try to delete CODE_LABEL insns which
 >      represent source-level labels which were explicitly declared by
 >      the user.  This really shouldn't be happening though, so catch
 >      it if it ever does happen.  */
 >   if (INSN_DELETED_P (insn))
 >     abort ();


	If you need any more info, let me know.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-bugs mailing list