OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2007 19:52:51 +0000 (19:52 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2007 19:52:51 +0000 (19:52 +0000)
200x-xx-xx  Kazu Hirata  <kazu@codesourcery.com>

* 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
gcc/config/m68k/m68k.c

index f7d4ef0..102078d 100644 (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
index a2f9f01..41f61c7 100644 (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);