diff options
author | Andrew MacLeod <amacleod@cygnus.com> | 1998-05-14 13:39:15 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 1998-05-14 13:39:15 +0000 |
commit | 9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64 (patch) | |
tree | 210e41e74a68a515399d6c03258a484e02563706 /gcc/cp/semantics.c | |
parent | 2129b0816f369ee6bf172e7065b0de137ac9c7f7 (diff) | |
download | gcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.zip gcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.tar.gz gcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.tar.bz2 |
First cut of changes to utilize the new exception handling model
From-SVN: r19746
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index d58ba1d..2501642 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -587,7 +587,10 @@ finish_try_block (try_block) if (processing_template_decl) RECHAIN_STMTS_FROM_LAST (try_block, TRY_STMTS (try_block)); else - expand_start_all_catch (); + { + expand_start_all_catch (); + expand_start_catch (NULL); + } } /* Finish a handler-sequence for a try-block, which may be given by @@ -600,7 +603,10 @@ finish_handler_sequence (try_block) if (processing_template_decl) RECHAIN_STMTS_FROM_CHAIN (try_block, TRY_HANDLERS (try_block)); else - expand_end_all_catch (); + { + expand_end_catch (); + expand_end_all_catch (); + } } /* Begin a handler. Returns a HANDLER if appropriate. */ |