diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 8233da9..dc781b4 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -8192,9 +8192,9 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl) case SWITCH_STMT: stmt = begin_switch_stmt (); - tmp = tsubst_expr (SWITCH_COND (t), args, complain, in_decl); + tmp = tsubst_expr (SWITCH_STMT_COND (t), args, complain, in_decl); finish_switch_cond (tmp, stmt); - tsubst_expr (SWITCH_BODY (t), args, complain, in_decl); + tsubst_expr (SWITCH_STMT_BODY (t), args, complain, in_decl); finish_switch_stmt (stmt); break; |