public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56103] New: Overwrite classes on destruction for debug
@ 2013-01-25 10:45 glisse at gcc dot gnu.org
  2013-01-25 11:36 ` [Bug libstdc++/56103] " redi at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-01-25 10:45 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56103

             Bug #: 56103
           Summary: Overwrite classes on destruction for debug
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org
                CC: redi@gcc.gnu.org


See the discussion starting here for more details:
http://gcc.gnu.org/ml/libstdc++/2013-01/msg00064.html

Overwriting classes like string or vector with garbage when they are destructed
can help detect uses after destruction.

Note that there is a suggestion to handle it at the compiler level for all
classes, instead of manually for a few classes of the standard library.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libstdc++/56103] Overwrite classes on destruction for debug
  2013-01-25 10:45 [Bug libstdc++/56103] New: Overwrite classes on destruction for debug glisse at gcc dot gnu.org
@ 2013-01-25 11:36 ` redi at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2013-01-25 11:36 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56103

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-01-25
     Ever Confirmed|0                           |1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-25 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-25 10:45 [Bug libstdc++/56103] New: Overwrite classes on destruction for debug glisse at gcc dot gnu.org
2013-01-25 11:36 ` [Bug libstdc++/56103] " redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).