https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109863
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Note that the entire "initializing a flexible array member" thing is a GNU extension and not supported by the standard. So GCC is free to support the constexpr case but reject other non-static cases.