https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71250
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Thanks. Basically the documentation can be enhanced to mention that GCC shouldn't (and wouldn't) warn for universal zero initializer, which is '{0}' in C and just '{}' in C++. After a day or so I can submit a patch with an extra sentence after the short example, like the following: However, for empty initializers in C++ and '{0}' initializers in C, no warning is issued, because those are the idiomatic ways to express zero initialization of the complete object.