This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.0 bug - destructor not called when throwing an exception
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: gcc-3.0 bug - destructor not called when throwing an exception
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 30 Jul 2001 01:30:06 +0200
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, Alexandre Oliva <aoliva at redhat dot com>, Ryszard Kabatek <Ryszard dot Kabatek at softax dot pl>, <gcc-bugs at gcc dot gnu dot org>
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.33.0107300022460.20808-100000@kern.srcf.societies.cam.ac.uk>
| On Sun, 29 Jul 2001, Phil Edwards wrote:
|
| > I'm confused now -- this seems to be a pretty obvious bug. If true,
| > it's amazing that this made it into 3.0...?
Oh, don't get confused. GCC historically, has always problems with
constructors and or destructors; sometimes constructors are called
twice, sometimes, destructors are called twice...
-- Gaby