https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104607
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Well that's a quick resolution to a bug report that contained that actual > phrase “and any padding is initialized to zero bits”, and this in a quote > from the C11 standard, but I guess one of us can't read then. The phrase starts with " If an object that has static or thread storage duration is not initialized explicitly, then:" so it does not apply to automatic storage duration, which is the case of your example.