]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
200x-xx-xx Kazu Hirata <kazu@codesourcery.com>
authorKazu Hirata <kazu@codesourcery.com>
Thu, 18 Jan 2007 19:52:51 +0000 (19:52 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 18 Jan 2007 19:52:51 +0000 (19:52 +0000)
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

gcc/ChangeLog
gcc/config/m68k/m68k.c

index f7d4ef0aa562423715369cfe3d0d726232136fb7..102078dcb5dd2159f2c80bba79e4d06ea96335ba 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 a2f9f015c8795f2b00203a940edeebcbd41a0c12..41f61c74b2c9373cab2e50949a546cce80d09904 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);