https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106853
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > if (0 != set_p1(&(struct ab){42, 42})) Yes it is auto storage and the scope is only inside the condition statement as specified by the standard.