From 0a5fee3256ec62528a5aba473854929be72a4c3a Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 1 May 2001 19:04:27 -0700 Subject: [PATCH] expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR... * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR, call do_pending_stack_adjust before emiting label. From-SVN: r41753 --- gcc/ChangeLog | 5 +++++ gcc/expr.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95cb78c0be2..dcb64e537b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-01 Per Bothner + + * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR, + call do_pending_stack_adjust before emiting label. + 2001-05-01 Mark Mitchell * extend.texi: Fix typo. diff --git a/gcc/expr.c b/gcc/expr.c index 2ad473c3abd..0ef52f5d9ce 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -6603,6 +6603,8 @@ expand_expr (exp, target, tmode, modifier) case LABELED_BLOCK_EXPR: if (LABELED_BLOCK_BODY (exp)) expand_expr_stmt (LABELED_BLOCK_BODY (exp)); + /* Should perhaps use expand_label, but this is simpler and safer. */ + do_pending_stack_adjust (); emit_label (label_rtx (LABELED_BLOCK_LABEL (exp))); return const0_rtx; -- 2.30.2