[Bug c++/91751] In backtrace, calls to c++ destructors are shown way afar from the actual place

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 12 11:28:00 GMT 2019


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-debug
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-09-12
          Component|debug                       |c++
     Ever confirmed|0                           |1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I agree, the consumer should be able to show the point of declaration of the
object being destroyed.  So IMHO our current location is clearly inferior.
C++ FE issue though since that sets the location of the destructor call.


More information about the Gcc-bugs mailing list