https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I think the code should be rejected in constexpr contexts, as Clang does. Otherwise the size of A::x is zero, which would make it an invalid object. I'm changing it to ice-on-invalid-code but please let me know if you know of an argument for accepting it.