egcs mips patch

Jeffrey A Law law@cygnus.com
Tue Sep 8 22:05:00 GMT 1998


  In message < 19980908221320.10313.rocketmail@attach1.rocketmail.com >you write:
  > Gavin,
  > 
  >  be careful on mips-sgi-irix6.x systems. 64-bit implies
  > mips3/mips4 in this case. This is probably true for all
  > configs, as (to my knowledge) 64-bit pointers are only
  > supported in mips3 and above. It may be better to make
  > mips1/mips2 illegal for 64-bit (address) code.
How we define LONG_MAX should not effect how we deal with pointers
in any way shape or form.

In the past the MIPS port assumed that pointers and longs were the
same size, and thus, maybe via some obscure dependency a change to
LONG_MAX could have an effect on pointers.  We removed that assumption
for the MIPS port a while ago.

Note that -mips1 and -mips2 can still work on 64bit systems, you just
can't use the entire 64bit address space.

jeff



More information about the Gcc-patches mailing list