https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102401
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes this is the way the C++ standard is defined. Even clang rejects it. I would have thought __builtin_clear_padding could be used in constexpr but I was wrong.