mips.c (mips_cfun_call_saved_reg_p): Handle global registers.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 17 Apr 2011 17:29:52 +0000 (17:29 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 17 Apr 2011 17:29:52 +0000 (17:29 +0000)
commitb14ee6c9ce76804143ab60dacf31f2fc8c6646b9
tree5af1c9d0f424d607112b994578164ecde106a9f4
parent10158cd3db8e8a64c39661418ec6ac1a57cdb092
mips.c (mips_cfun_call_saved_reg_p): Handle global registers.

gcc/
* config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
registers.

gcc/testsuite/
* gcc.target/mips/reg-var-1.c: New test.

From-SVN: r172616
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/reg-var-1.c [new file with mode: 0644]