[Bug c++/87097] value-initialization of an array of more than 1 element not treated as a constant initializer

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 7 11:52:07 GMT 2021


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> MSVC has the same bug :).

Well MSVC rejects it even for array size of 1.


More information about the Gcc-bugs mailing list