re PR target/14599 (ieee/20000320-1.c fails for -mips16 using -O2 and above)
commit4e7edcca305b9121c314ca5762dc45e426c20065
authorRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 16 Mar 2004 09:22:36 +0000 (16 09:22 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 16 Mar 2004 09:22:36 +0000 (16 09:22 +0000)
treeaa18b72a10946f018b0da63596169d5b363804bb
parent3704aae954e07db1b797e5cc1750bcf4f2a88cc1
re PR target/14599 (ieee/20000320-1.c fails for -mips16 using -O2 and above)

PR target/14599
* config/mips/mips.md (UNSPEC_GP): New constant.
* config/mips/mips.c (CONST_GP_P): Expect the CONST to contain
an UNSPEC instead of (reg $gp).
(mips16_gp_pseudo_reg): Change accordingly.
(print_operand): Print $gp directly when handling CONST_GP_P.

From-SVN: r79527
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md