diff options
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r-- | gcc/cp/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 15046b4..a17e160 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -569,8 +569,7 @@ get_nsdmi (tree member, bool in_ctor, tsubst_flags_t complain) } else { - int un = cp_unevaluated_operand; - cp_unevaluated_operand = 0; + cp_evaluated ev; location_t sloc = input_location; input_location = expr_loc; @@ -616,7 +615,6 @@ get_nsdmi (tree member, bool in_ctor, tsubst_flags_t complain) } input_location = sloc; - cp_unevaluated_operand = un; } } else |