https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124910
--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jiang An from comment #12) > IIUC active union member isn't necessary for constexpr object at least since > C++20. The underlying issue seems to be that GCC (and Clang, and EDG) hasn't > implemented CWG2424. Hmm, true, but I think rather the issue is that we've been treating the _Stored_type as still the active member after it's destroyed instead of the union no longer having an active member.
