egcs mips patch

Jeffrey A Law
Tue Sep 8 22:05:00 GMT 1998

  In message < >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.


More information about the Gcc-patches mailing list