[Bug c/106535] GCC doesn't reject non-constant initializer if -pedantic is specified but does so in any other circumstances

gabravier at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 5 09:58:16 GMT 2022


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

Gabriel Ravier <gabravier at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid,
                   |                            |rejects-valid

--- Comment #1 from Gabriel Ravier <gabravier at gmail dot com> ---
(PS: I'm not sure whether it's intended that it should be rejected under
-pedantic or accepted without any options, so I've used both of the keywords)


More information about the Gcc-bugs mailing list