egcs-CVS19980901 (trunk) mips-sgi-irix6.2 bootstrap failure in unroll

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Sep 1 10:21:00 GMT 1998


Snapshot:		egcs-CVS19980901 (trunk)
Platform:		mips-sgi-irix6.2
Stage1 compiler:	cc
Assembler:		native
Linker:			native
BOOT_CFLAGS:		-g -O3 -funroll-all-loops


	I had a bootstrap failure in stage2 building the CVS trunk:


 > stage1/xgcc -Bstage1/ -c -DIN_GCC -W -Wall -g -O3 -funroll-all-loops
 > 	-DHAVE_CONFIG_H -I. -I. -I./config c-typeck.c
 > xgcc: Internal compiler error: program cc1 got fatal signal 11
 > make[2]: *** [c-typeck.o] Error 1


	I saved the preprocessed file and ran stage1/cc1 under dbx,
below is the backtrace.  It dies in unroll.c. 

		--Kaveh


% dbx stage1/cc1
dbx version 7.1 Dec  3 1996 17:03:19
Executable /caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/stage1/cc1
(dbx) run -quiet -dumpbase -W -Wall -g -O3 -funroll-all-loops  c-typeck.i
Process 19253 (cc1) started
Process 19253 (cc1) stopped on signal SIGSEGV: Segmentation violation (default) at [copy_loop_body:2033 +0xc,0x586f68]
2033  if (label && GET_CODE (label) == CODE_LABEL)
(dbx) where
>  0 copy_loop_body(copy_start = 0x1034b460, copy_end = 0x1034b920, map = 0x7fff0a48, exit_label = 0x10384f90, last_iteration = 0, unroll_type = UNROLL_NAIVE=2, start_label = 0x1034b490, loop_end = 0x1034bba8, insert_before = 0x1034bba8, copy_notes_from = 0x1034bba8) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/unroll.c":2033, 0x586f68]
   1 unroll_loop(loop_end = 0x1034bba8, insn_count = 11, loop_start = 0x1034b460, end_insert_before = 0x103a35f8, strength_reduce_p = 0) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/unroll.c":1268, 0x585600]
   2 strength_reduce(scan_start = 0x1034b490, end = 0x1034bba8, loop_top = (nil), insn_count = 11, loop_start = 0x1034b460, loop_end = 0x1034bba8, unroll_p = 1) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/loop.c":3797, 0x577f7c]
   3 scan_loop(loop_start = 0x1034b460, end = 0x1034bba8, unroll_p = 1) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/loop.c":1187, 0x571dcc]
   4 loop_optimize(f = 0x10362210, dumpfile = (nil), unroll_p = 1) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/loop.c":591, 0x5703e0]
   5 rest_of_compilation(decl = 0x101b4238) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/toplev.c":3506, 0x460008]
   6 finish_function(nested = 0) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/c-decl.c":7185, 0x43f09c]
   7 yyparse() ["/usr/cygnus/progressive-98r1/share/bison.simple":692, 0x42347c]
   8 compile_file(name = 0x7fff3041 = "c-typeck.i") ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/toplev.c":2768, 0x45e27c]
   9 main(argc = 9, argv = 0x7fff2f04, envp = 0x7fff2f2c) ["/caip/u47/ghazi/gcc-testing/egcs-CVS19980901/gcc/toplev.c":4834, 0x4635b8]
   10 __istart() ["crt1tinit.s":13, 0x422870]
(dbx) quit
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.



More information about the Gcc-bugs mailing list