diff options
author | Jason Merrill <jason@redhat.com> | 2001-05-21 11:39:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-05-21 11:39:19 -0400 |
commit | 1a6025b4b81a386b54678f8641fbb00b144e6ddf (patch) | |
tree | 39cca1e9568d70f1c02863d9d447b7fd3eb0d235 /gcc/cp/pt.c | |
parent | 0fd0b7ee985eb454ead3a28f6a017065780e9587 (diff) | |
download | gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.zip gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.tar.gz gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.tar.bz2 |
cp-tree.def (START_CATCH_STMT): Lose.
* cp-tree.def (START_CATCH_STMT): Lose.
* dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS.
* tree.c (cp_statement_code_p): Don't case it.
* semantics.c (cp_expand_stmt): Likewise.
* except.c (expand_start_catch_block): Don't start any blocks.
Return the type.
(expand_end_catch_block): Don't end any blocks.
* parse.y (handler): Don't pass anything from finish_handler_parms
to finish_handler.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_handler): Call note_level_for_catch here.
(finish_handler_parms): Don't return anything.
(genrtl_catch_block, begin_catch_block): Lose.
(genrtl_handler): Call expand_start_catch here.
* cp-tree.h (START_CATCH_TYPE): Lose.
(HANDLER_TYPE): New.
From-SVN: r42388
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index da0b0a6..19de961 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -7448,7 +7448,6 @@ tsubst_expr (t, args, complain, in_decl) case HANDLER: { tree decl; - tree blocks; prep_stmt (t); stmt = begin_handler (); @@ -7463,9 +7462,9 @@ tsubst_expr (t, args, complain, in_decl) } else decl = NULL_TREE; - blocks = finish_handler_parms (decl, stmt); + finish_handler_parms (decl, stmt); tsubst_expr (HANDLER_BODY (t), args, complain, in_decl); - finish_handler (blocks, stmt); + finish_handler (stmt); } break; |