Last patch to loop.c causes all platforms to fail RTL check bootstrap

Kaveh R. Ghazi
Fri Oct 20 20:28:00 GMT 2000


Your patch to loop.c:

 > Fri Oct 20 13:33:16 2000  Richard Kenner  <>
 >         * loop.c (strength_reduce): Show when new register made for
 >         giv is known to be a pointer and its aligment if so and known.

causes my three test platforms to fail RTL checking bootstraps.  I
suspect it actually kills all platforms, not just my three.  But for
the record, they are i686-pc-linux-gnu, mips-sgi-irix6.2 and
sparc-sun-solaris2.7.  I configured with

All three get this in stage2:

 > stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -DIN_GCC
 >   -O2 -g -O2 -W -Wall -Wtraditional -Wwrite-strings
 >   -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
 >   -DHAVE_CONFIG_H -I. -I../../egcs-CVS20001020/gcc
 >   -I../../egcs-CVS20001020/gcc/config
 >   -I../../egcs-CVS20001020/gcc/../include
 >   ../../egcs-CVS20001020/gcc/gensupport.c
 > ../../egcs-CVS20001020/gcc/gensupport.c: In function
 > 	`alter_predicate_for_insn':
 > ../../egcs-CVS20001020/gcc/gensupport.c:554: RTL check: expected code
 > 	`const_int', have `plus'
 > ../../egcs-CVS20001020/gcc/gensupport.c:554: Internal compiler error
 > 	in strength_reduce, at loop.c:4207

If you can't reproduce it on your platform let me know and I'll send
you a .i file from one of mine.

Kaveh R. Ghazi			Engagement Manager / Project Services		Qwest Internet Solutions

More information about the Gcc-bugs mailing list