https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855

--- Comment #8 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to fiesh from comment #0)
> > (If this is true, is it
> > a separate gcc bug that it does not delete the union's constructor?)
> 
> Yes, I think so. Could you please file a Component=c++ bug too?

When doing so, please check whether it's actually about not deleting
the union's copy constructor, as opposed to possibly too eager copy elision.

Reply via email to