diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-10-25 15:59:17 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2009-10-25 15:59:17 +0000 |
commit | c870c233bd08e944f4a70973af92e42f040c4366 (patch) | |
tree | 83d46f99bd38ca41986f6b630d71577935eaf03b /gcc | |
parent | 22dfb60e841d85c66ebc7a3de8e62de6baaa0ebb (diff) | |
download | gcc-c870c233bd08e944f4a70973af92e42f040c4366.zip gcc-c870c233bd08e944f4a70973af92e42f040c4366.tar.gz gcc-c870c233bd08e944f4a70973af92e42f040c4366.tar.bz2 |
mips.c (mips_restore_gp_from_cprestore_slot): Emit a note when expanding to nothing.
gcc/
* config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit
a note when expanding to nothing.
From-SVN: r153540
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82e7b7c..e17878e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-25 Richard Sandiford <rdsandiford@googlemail.com> + + * config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit + a note when expanding to nothing. + 2009-10-25 Richard Guenther <rguenther@suse.de> PR middle-end/41814 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 4b4353c..f82091a 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -9537,7 +9537,10 @@ mips_restore_gp_from_cprestore_slot (rtx temp) gcc_assert (TARGET_ABICALLS && TARGET_OLDABI && epilogue_completed); if (!cfun->machine->must_restore_gp_when_clobbered_p) - return; + { + emit_note (NOTE_INSN_DELETED); + return; + } if (TARGET_MIPS16) { |