https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117475
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=98423 --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note there was a bug in pre GCC 13 dealing with unions with C++20 and non-trivial constructors and non-initialized fields; see PR 98423 for that. That deals with the testcase like: ``` union U { int t = 0; S s; }; ```