diff options
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 014df50..6555d6b 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -540,9 +540,9 @@ expand_start_catch_block (tree decl) if (init_type != TREE_TYPE (init)) init = build1 (NOP_EXPR, init_type, init); exp = create_temporary_var (init_type); - DECL_REGISTER (exp) = 1; cp_finish_decl (exp, init, /*init_const_expr=*/false, NULL_TREE, LOOKUP_ONLYCONVERTING); + DECL_REGISTER (exp) = 1; initialize_handler_parm (decl, exp); } |