[Bug c++/86974] Support Clang's require_constant_initialization attribute

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 16:40:35 GMT 2022


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC does support __constinit as an alternate spelling of constinit, and while
constinit is only available in -std=c++20 and later, __constinit is available
even in C++11.


More information about the Gcc-bugs mailing list