* explow.c (probe_stack_range): Emit a final optimization blockage.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 4 Apr 2014 21:07:48 +0000 (21:07 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 4 Apr 2014 21:07:48 +0000 (21:07 +0000)
From-SVN: r209130

gcc/ChangeLog
gcc/explow.c

index 4a40d27..de5393a 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * explow.c (probe_stack_range): Emit a final optimization blockage.
+
 2014-04-04  Anthony Green  <green@moxielogic.com>
 
        * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
index 4e2f704..48e91a6 100644 (file)
@@ -1729,6 +1729,9 @@ probe_stack_range (HOST_WIDE_INT first, rtx size)
          emit_stack_probe (addr);
        }
     }
+
+  /* Make sure nothing is scheduled before we are done.  */
+  emit_insn (gen_blockage ());
 }
 
 /* Adjust the stack pointer by minus SIZE (an rtx for a number of bytes)