This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-CVS19981010, SunOS4 bootstrap fails, gcse.c:4460: ICE ...


Snapshot:		egcs-CVS19981010
Platform:		sparc-sun-sunos4.1.4
Stage1 compiler:	cc
Assembler:		native
Linker:			native
BOOT_CFLAGS:		-g -O2 -D__USE_FIXED_PROTOTYPES__ -pipe


	When bootstrapping, I get the following during stage2:

 > ./xgcc -B./ -O2 -DIN_GCC -W -Wall -g -O2 -D__USE_FIXED_PROTOTYPES__
 > 	-pipe -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g
 > 	-O2 -I. -I. -I./config -I./../include -c ./cp/tinfo.cc
 > gcse.c:4460: Internal compiler error in function pre_insert_insn
 > make[5]: *** [tinfo.o] Error 1


	Here is the backtrace from gdb on cc1plus:


 > Breakpoint 2, 0xef77438c in exit ()
 > (gdb) where
 > #0  0xef77438c in exit ()
 > #1  0x1a6d54 in pre_insert_insn (expr=0x2fa0c0, bb=5) at gcse.c:4460
 > #2  0x1a7058 in pre_insert (index_map=0xefffeac8) at gcse.c:4554
 > #3  0x1a768c in pre_gcse () at gcse.c:4783
 > #4  0x1a7780 in one_pre_gcse_pass (f=0x0, pass=1) at gcse.c:4817
 > #5  0x1a0bc4 in gcse_main (f=0x2eb428, file=0x0) at gcse.c:741
 > #6  0xacddc in rest_of_compilation (decl=0x2ebf50) at toplev.c:3520
 > #7  0x23890 in finish_function (lineno=43, call_poplevel=0, nested=0)
 >     at decl.c:13308
 > #8  0x6e5e4 in yyparse () at parse.y:637
 > #9  0xabc20 in compile_file (name=0xeffff9df "tinfo.ii") at toplev.c:2789
 > #10 0xafc28 in main (argc=8, argv=0xeffff8d4) at toplev.c:4863


	NOTE, this only happens for me on SunOS4, *not* on Solaris2.5.
Hope this is useful.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]