https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76732

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GCC should warn on repeated |Improve Woverride-init
                   |initializer for same array  |
                   |element / struct member.    |
           Severity|normal                      |enhancement

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
> Surprised -Wall doesn't set -Woverride-init then; presume this was a
> conscious decision?

It is enabled by -Wextra. You can find the rationale here: PR24010

Clang warns by default.

Reply via email to