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


  In message <20000711082533.A14771@cpopetz.com>you write:
  > 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.
Thanks.  Insanely silly on my part.  Your change is obviously correct.


jeff


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