https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113763
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I guess it surely helps if the array isn't dynamically initialized, but that is just an optimization, it will work even when it is. And the compiler should do that even if the array isn't constexpr if the ctor is constexpr.