* 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
+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
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)
{