mips-sgi-irix6.2 bootstrap fails RTL checking

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Jul 11 13:44:00 GMT 2000


 > From: Clinton Popetz <cpopetz@cygnus.com>
 > 
 > On Tue, Jul 11, 2000 at 12:28:49AM -0400, Kaveh R. Ghazi wrote:
 > > When I use --enable-checking=misc,tree,rtl,gc (e.g. add "rtl" to the
 > > others on by default) on mips-sgi-irix6.2 I get the following error in
 > > stage3 compiling mips.c:
 > > 
 > >  > ../../egcs-CVS20000710/gcc/config/mips/mips.c: In function
 > >  > 		`mips_fill_delay_slot':
 > >  > ../../egcs-CVS20000710/gcc/config/mips/mips.c:1635: RTL check:
 > >  > 		expected code `const_int', have `mem'
 > >  > ../../egcs-CVS20000710/gcc/config/mips/mips.c:1635: Internal compiler
 > >  > 		error in `simple_memory_operand', at config/mips/mips.c:732
 > > 
 > > I first reported this a few weeks ago in:
 > > 
 > > http://gcc.gnu.org/ml/gcc-bugs/2000-06/msg00486.html
 > 
 > Wow, that bug has been there for a while:
 > 
 > 1.1          (law      11-Aug-97):       return SMALL_INT (op);
 > 
 > 
 > Tue Jul 11 08:22:36 2000  Clinton Popetz  <cpopetz@cygnus.com>
 > 
 > 	* config/mips/mips.c (simple_memory_operand): Access the
 > 	INTVAL of the address, not it's containing MEM.

Using your patch, I was able to complete a full bootstrap on Irix6
with RTL checking.  Thanks!

Since its a one liner, are you going to install it or wait for
offical review?

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


More information about the Gcc-bugs mailing list