http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096
--- Comment #1 from janus at gcc dot gnu.org 2013-04-28 07:48:27 UTC --- Created attachment 29959 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29959 reduced test case Confirmed with current trunk. It is not related to polymorphism or type extension as the reduced test case shows. The problem seems to be that 'gA' is (wrongly) auto-deallocated at the end of 'init'.