https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122780
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes this is invalid. as create can access obj_on_heap via a different way
before it is finished so there needs to be a copy.
