This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Last patch to loop.c causes all platforms to fail RTL check bootstrap
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Last patch to loop.c causes all platforms to fail RTL check bootstrap
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 20 Oct 2000 23:28:14 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org
Richard,
Your patch to loop.c:
> Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
>
> * 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
--enable-checking=misc,tree,rtl,gc.
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
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions