gcc-3.0 bug - destructor not called when throwing an exception

Gabriel Dos Reis gdr@codesourcery.com
Sun Jul 29 16:30:00 GMT 2001


| 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



More information about the Gcc-bugs mailing list