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

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> ---
This is undefined code. The object is officially not live after you call the
deconstructor so GCC is able to remove the store from the deconstructor as
being dead.

Reply via email to