libstdc++/3150: Ready 266: ~bad_exception,~bad_cast, ~bad_alloc, ~bad_typeid

theonetruekenny@yahoo.com theonetruekenny@yahoo.com
Tue Jun 12 16:16:00 GMT 2001


>Number:         3150
>Category:       libstdc++
>Synopsis:       Ready 266: ~bad_exception,~bad_cast, ~bad_alloc, ~bad_typeid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 16:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     theonetruekenny@yahoo.com
>Release:        20010605 cvs
>Organization:
>Environment:
source
>Description:
see:
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-active.html#266
>How-To-Repeat:
observe the declarations for these destructors in
libsupc++/typeinfo - line 119 and 126 (~bad_cast and ~bad_typeid)
libsupc++/new - line 45 (~bad_alloc)
libsupc++/exception - line 42 (~bad_exception)

and the definitions in
libsupc++/tinfo.cc line 42 and 43 (~bad_cast and ~bad_typeid)
libsupc++/new_handler.cc line 46 (~bad_alloc)
libsupc++/eh_exception.cc line 36 (~bad_exception)
>Fix:
remove these declarations and definitions.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list