------- Comment #2 from pault at gcc dot gnu dot org 2009-02-19 05:40 ------- I agree with Steve and have marked this as WONTFIX.
You should use another pointer and allocate to that if you want to avoid the automatic deallocation on leaving scope. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39189