This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226968 - in /trunk/gcc: ChangeLog config/mips/...
- From: rts at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Aug 2015 12:42:13 -0000
- Subject: r226968 - in /trunk/gcc: ChangeLog config/mips/...
Author: rts
Date: Tue Aug 18 12:42:12 2015
New Revision: 226968
URL: https://gcc.gnu.org/viewcvs?rev=226968&root=gcc&view=rev
Log:
[MIPS] Fix register renaming in the interrupt handlers.
gcc/
* config/mips/mips-protos.h (mips_hard_regno_rename_ok): New prototype.
* config/mips/mips.c (mips_hard_regno_rename_ok): New function.
(mips_hard_regno_scratch_ok): Likewise.
(TARGET_HARD_REGNO_SCRATCH_OK): Define macro.
* config/mips/mips.h (HARD_REGNO_RENAME_OK): New.
gcc/testsuite/
* gcc.target/mips/interrupt_handler-bug-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/mips/interrupt_handler-bug-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips-protos.h
trunk/gcc/config/mips/mips.c
trunk/gcc/config/mips/mips.h
trunk/gcc/testsuite/ChangeLog