https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84866
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2021-12-09 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, the problem is the move constructor is not being deleted for union T1 when the field x has a non-trivial move constructor.