From f675499c88831fb14dab8d10a041034b813e72d9 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Mon, 17 Oct 1994 23:01:46 +0000 Subject: except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack... * except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack, as it is used for the exception table. From-SVN: r8288 --- gcc/cp/except.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/cp/except.c b/gcc/cp/except.c index fd50915..9821471 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -1136,13 +1136,12 @@ expand_start_catch_block (declspecs, declarator) else type = NULL_TREE; - false_label_rtx = gen_label_rtx (); - push_label_entry (&false_label_stack, false_label_rtx); - - /* This is saved for the exception table. */ + /* These are saved for the exception table. */ push_rtl_perm (); + false_label_rtx = gen_label_rtx (); protect_label_rtx = gen_label_rtx (); pop_rtl_from_perm (); + push_label_entry (&false_label_stack, false_label_rtx); push_label_entry (&false_label_stack, protect_label_rtx); if (type) -- cgit v1.1