summaryrefslogtreecommitdiff
path: root/gcc/cp/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parse.y')
-rw-r--r--gcc/cp/parse.y12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y
index 1fd3c5a1bf0..fc62c0f1dba 100644
--- a/gcc/cp/parse.y
+++ b/gcc/cp/parse.y
@@ -3384,18 +3384,12 @@ simple_stmt:
function_try_block:
TRY
- {
- if (! current_function_parms_stored)
- store_parm_decls ();
- expand_start_early_try_stmts ();
- }
+ { $<ttype>$ = begin_function_try_block (); }
ctor_initializer_opt compstmt
- {
- expand_start_all_catch ();
- }
+ { finish_function_try_block ($<ttype>2); }
handler_seq
{
- expand_end_all_catch ();
+ finish_function_handler_sequence ($<ttype>2);
$$ = $3;
}
;