c++: Use iloc_sentinel in mark_use.
gcc/cp/ChangeLog: * expr.c (mark_use): Use iloc_sentinel.
This commit is contained in:
parent
46a58c779a
commit
f923c40f9b
@ -139,9 +139,7 @@ mark_use (tree expr, bool rvalue_p, bool read_p,
|
||||
break;
|
||||
}
|
||||
}
|
||||
temp_override<location_t> l (input_location);
|
||||
if (loc != UNKNOWN_LOCATION)
|
||||
input_location = loc;
|
||||
iloc_sentinel l (loc);
|
||||
expr = process_outer_var_ref (expr, tf_warning_or_error, true);
|
||||
if (!(TREE_TYPE (oexpr)
|
||||
&& TYPE_REF_P (TREE_TYPE (oexpr))))
|
||||
|
Loading…
Reference in New Issue
Block a user