]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport a h8300 fix.
authorBernd Schmidt <bernds@redhat.co.uk>
Mon, 18 Dec 2000 14:43:08 +0000 (14:43 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 18 Dec 2000 14:43:08 +0000 (14:43 +0000)
From-SVN: r38351

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 7334ad2af7de48f71f158bc2ae7f9073e0b18a6c..c0a6f61ae5f42b0830f4e9c553d37bdd0215b802 100644 (file)
@@ -1,5 +1,9 @@
 2000-12-18  Bernd Schmidt  <bernds@redhat.co.uk>
 
+       2000-04-28  Kazu Hirata  <kazu@hxi.com>
+       * h8300.c (function_epilogue): Clean up flags when the last insn
+       in a function is a barrier.
+
        Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
        * emit-rtl.c (copy_rtx_if_shared): A MEM which references
        virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
index 5fb4a628c468733767e33d9c507df620bf30a135..a10486f7449f3063d284910ea3bad362c0dca581 100644 (file)
@@ -396,7 +396,7 @@ function_epilogue (file, size)
   if (GET_CODE (insn) == NOTE)
     insn = prev_nonnote_insn (insn);
   if (insn && GET_CODE (insn) == BARRIER)
-    return;
+    goto out;
 
   /* Pop the saved registers. */
   for (idx = 0; idx < FIRST_PSEUDO_REGISTER; idx++)