https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116385
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- It appears that (part of) the problem is that cp_unevaluated_operand is not properly set when we reach process_outer_var_ref.