https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105696
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://wg21.link/p2280r2 was accepted as a defect report against all versions of C++. and that makes this code valid. That is `val.a` is now a constexpr even though val alone is not one.