From: rsandifo Date: Sun, 25 Oct 2009 15:59:17 +0000 (+0000) Subject: gcc/ X-Git-Tag: upstream/4.9.2~32975 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70ea0e7c12c7c4ed3cbf9b30dfe2b28a49bf25b1;p=platform%2Fupstream%2Flinaro-gcc.git gcc/ * config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit a note when expanding to nothing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153540 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 + + * config/mips/mips.c (mips_restore_gp_from_cprestore_slot): Emit + a note when expanding to nothing. + 2009-10-25 Richard Guenther 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) {