This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: IRIX: -mabi=n32 generates -mips4 code instead of -mips3
On 28 Jan 00, Jesper Eskilson writes:
> Billinghurst, David (RTD) <David.Billinghurst@riotinto.com.au> writes:
>
> > I think it is a problem, and suggested the patch
> > http://gcc.gnu.org/ml/gcc-patches/1999-06/msg00562.html
> > It still works with the current snapshots.
>
> [...]
>
> The patch at http://gcc.gnu.org/ml/gcc-patches/1999-06/msg00562.html does
> seem to be mangled, though.
I think it just got reformatted (word-wrapped).
It's worth mentioning that, beginning with IRIX 6.5, there is a
file /etc/compiler.defaults which can contain something like this:
-DEFAULT:abi=n32:isa=mips4:proc=r10k
At least, this was the default setting on an r12k Origin 2000. This
can *appear* to change the default behaviour of IRIX cc, because this
new file specifies isa=mips4, overriding the default of mips3.
I wonder if GCC on IRIX 6.5 ought to use this file also? Barring
that, gcc ought to revert to the documented default behavior, and the
above-mentioned patch should get incorporated (IMO).
Regards,
David
-------------------------------------------------------------------
David Starks-Browning | starksb@ebi.ac.uk
EMBL Outstation -- |
The European Bioinformatics Institute |
Wellcome Trust Genome Campus | tel: +44 (1223) 494 616
Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468
-------------------------------------------------------------------