------- Comment #1 from pcarlini at suse dot de 2007-11-15 13:32 ------- intptr is not initialized: when i is destructed it calls delete on the owned pointer, that is intptr, and anything can happen. Just initialize intptr to zero or to a value returned by new.
-- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34104