From: Jakub Jelinek Date: Fri, 6 Jun 2008 13:24:45 +0000 (+0200) Subject: re PR rtl-optimization/36419 (Wrong unwind info with -Os -fasynchronous-unwind-tables) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6eb958c63c8f92d793a1fcf17e6b74582afd04d;p=gcc.git re PR rtl-optimization/36419 (Wrong unwind info with -Os -fasynchronous-unwind-tables) PR rtl-optimization/36419 * except.c (expand_resx_expr): Call do_pending_stack_adjust () before the emitting jump insn. From-SVN: r136435 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7da7ddecdd..7e37721160e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-06-06 Jakub Jelinek + 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) : If *expr_p type is not bool, boolify the whole *expr_p and convert to the desired type. diff --git a/gcc/except.c b/gcc/except.c index f8bacd5902b..8ebfd7fa1db 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -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 (); }