200x-xx-xx Kazu Hirata <kazu@codesourcery.com>

gcc/
200x-xx-xx  Kazu Hirata  <kazu@codesourcery.com>

	* config/m68k/m68k.c (m68k_output_function_epilogue): Don't
	output a NOP for empty epilogues.

From-SVN: r120928
This commit is contained in:
Kazu Hirata 2007-01-18 19:52:51 +00:00 committed by Richard Sandiford
parent 413ac1b28d
commit dfd050746b
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2007-01-18 Kazu Hirata <kazu@codesourcery.com>
* config/m68k/m68k.c (m68k_output_function_epilogue): Don't
output a NOP for empty epilogues.
2007-01-18 Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k.c (m68k_use_return_insn): Update comments

View File

@ -1055,12 +1055,7 @@ m68k_output_function_epilogue (FILE *stream,
if (GET_CODE (insn) == NOTE)
insn = prev_nonnote_insn (insn);
if (insn && GET_CODE (insn) == BARRIER)
{
/* Output just a no-op so that debuggers don't get confused
about which function the pc is in at this address. */
fprintf (stream, "\tnop\n");
return;
}
return;
#ifdef FUNCTION_EXTRA_EPILOGUE
FUNCTION_EXTRA_EPILOGUE (stream, size);