Summary: | Two destructors are called when no copy destructor is defined | ||
---|---|---|---|
Product: | gcc | Reporter: | ksingh |
Component: | c++ | Assignee: | Jason Merrill <jason> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, gdr |
Priority: | P3 | Keywords: | wrong-code |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Attachments: | kulvinder.C |
Description
ksingh
2001-08-05 21:06:01 UTC
Fix: None Responsible-Changed-From-To: unassigned->gdr Responsible-Changed-Why: Boo! State-Changed-From-To: open->analyzed State-Changed-Why: Confirmed as a horrible bug in GCC-3.0. A regression over 2.95 Responsible-Changed-From-To: gdr->jason Responsible-Changed-Why: me State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed for 3.1 by PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch. * class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a type with a nontrivial destructor. |