https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63657
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |paolo.carlini at oracle dot com --- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> --- It occurs to me that a pretty robust (and in principle easy to implement) way to decide whether we want to suppress the warning or not would be storing in a flag of the VAR_DECL whether set_up_extended_ref_temp has been called on it. However, I don't think we have any unused flag... Jason, what do you think?