mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 15:57:17 +08:00
semantics.c (finish_handler): End the scope of the handler before attaching it to the statement-tree.
* semantics.c (finish_handler): End the scope of the handler before attaching it to the statement-tree. From-SVN: r30250
This commit is contained in:
parent
0faff58049
commit
13e8cf822f
@ -1,3 +1,8 @@
|
||||
1999-10-28 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* semantics.c (finish_handler): End the scope of the handler
|
||||
before attaching it to the statement-tree.
|
||||
|
||||
1999-10-28 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* rtti.c (build_dynamic_cast_1): Give a better error message for
|
||||
|
@ -887,10 +887,10 @@ finish_handler (blocks, handler)
|
||||
}
|
||||
}
|
||||
|
||||
do_poplevel ();
|
||||
|
||||
if (building_stmt_tree ())
|
||||
RECHAIN_STMTS (handler, HANDLER_BODY (handler));
|
||||
|
||||
do_poplevel ();
|
||||
}
|
||||
|
||||
/* Begin a compound-statement. If HAS_NO_SCOPE is non-zero, the
|
||||
|
Loading…
Reference in New Issue
Block a user