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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
An object with a non-trivial destructor can have side effects so is always
"used", the change in behaviour is intentional.

*** This bug has been marked as a duplicate of bug 38958 ***

Reply via email to