This is the mail archive of the gcc-patches@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]

Re: mips-sgi-irix6.2 bootstrap fails RTL checking


On Tue, Jul 11, 2000 at 04:44:12PM -0400, Kaveh R. Ghazi wrote:
>  > 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?

I'll check it in shortly. 

				-Clint

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