From fbb404bfc90fb100fe8c2a0cea7750c422fa29d8 Mon Sep 17 00:00:00 2001 From: rsandifo Date: Thu, 18 Jan 2007 19:52:51 +0000 Subject: [PATCH] gcc/ 200x-xx-xx Kazu Hirata * config/m68k/m68k.c (m68k_output_function_epilogue): Don't output a NOP for empty epilogues. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120928 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/m68k/m68k.c | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7d4ef0..102078d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-01-18 Kazu Hirata + + * config/m68k/m68k.c (m68k_output_function_epilogue): Don't + output a NOP for empty epilogues. + 2007-01-18 Richard Sandiford * config/m68k/m68k.c (m68k_use_return_insn): Update comments diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index a2f9f01..41f61c7 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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); -- 2.7.4