re PR rtl-optimization/36419 (Wrong unwind info with -Os -fasynchronous-unwind-tables)
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Jun 2008 13:24:45 +0000 (15:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Jun 2008 13:24:45 +0000 (15:24 +0200)
PR rtl-optimization/36419
* except.c (expand_resx_expr): Call do_pending_stack_adjust () before
the emitting jump insn.

From-SVN: r136435

gcc/ChangeLog
gcc/except.c

index c7da7ddecdde937fb5cb1567c1dd04f09f9778d6..7e37721160e69ad9766603280b6b2dd956a35770 100644 (file)
@@ -1,5 +1,9 @@
 2008-06-06  Jakub Jelinek  <jakub@redhat.com>
 
+       PR rtl-optimization/36419
+       * except.c (expand_resx_expr): Call do_pending_stack_adjust () before
+       the emitting jump insn.
+
        PR target/36362
        * gimplify.c (gimplify_expr) <case TRUTH_NOT_EXPR>: If *expr_p type
        is not bool, boolify the whole *expr_p and convert to the desired type.
index f8bacd5902bcd36cc92ee65c13e99014268cfc62..8ebfd7fa1db60c1ba3f28d6b7c127ab7ac837826 100644 (file)
@@ -540,6 +540,7 @@ expand_resx_expr (tree exp)
                                     cfun->eh->region_array, region_nr);
 
   gcc_assert (!reg->resume);
+  do_pending_stack_adjust ();
   reg->resume = emit_jump_insn (gen_rtx_RESX (VOIDmode, region_nr));
   emit_barrier ();
 }