https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120511
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2025-06-02 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=53119 Ever confirmed|0 |1 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > >struct test t = {0}; > > Stopped warning in GCC 5. So maybe this is just on accident. Looks like that was PR 53119. It looks like it didn't fix the internal usage or the outer most usage of "universal zero init". Then again in C23, {} should be used ...