new bootstrap failure on Solaris *and* SunOS4. flow/combine/sched

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sat Aug 28 07:09:00 GMT 1999


	I'm getting a bootstrap failure on Solaris2.7 and SunOS4 in stage2:

 > stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.7/bin/ -c
 > 	-DIN_GCC -DSVR4 -W -Wall -O2 -g -DHAVE_CONFIG_H
 > 	-I. -I../../egcs-CVS19990828/gcc
 > 	-I../../egcs-CVS19990828/gcc/config
 > 	-I../../egcs-CVS19990828/gcc/../include
 > 	../../egcs-CVS19990828/gcc/fold-const.c
 > ../../egcs-CVS19990828/gcc/fold-const.c: In function `add_double':
 > ../../egcs-CVS19990828/gcc/fold-const.c:248: warning: comparison
 > 	between signed and unsigned
 > ../../egcs-CVS19990828/gcc/fold-const.c: In function `mul_double':
 > ../../egcs-CVS19990828/gcc/fold-const.c:334: Internal compiler error
 > 	in `?', at haifa-sched.c:4428
 > Please submit a full bug report.
 > See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
 > 	instructions.
 > make[2]: *** [fold-const.o] Error 1

	It fails in the same place for both systems.  In both cases I
used cc for stage1, however I don't think its related to the recent
solaris cc v5.0 problem because I'm using v4.2 and it doesn't exihibit
the problem from the testcase for the 5.0 bug that Jeff posted in his
patch http://egcs.cygnus.com/ml/gcc-patches/1999-08/msg00900.html .

 > %cc -V
 > cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
 > %cc -g foo.c
 > %./a.out
 > -2147483648 is < 0                  

(Also because I get this same problem with SunOS4's old K&R cc too.)


	The code at haifa-sched.c:4428 says:

 >      We carefully remove REG_DEAD notes from the dead_notes list, so that
 >      there will be none left at the end.  If we run out early, then there
 >      is a bug somewhere in flow, combine and/or sched.  */
 > 
 >   if (dead_notes == 0)
 >     {
 >       if (current_nr_blocks <= 1)
 >         abort ();


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


More information about the Gcc-bugs mailing list