http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44950
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-15 19:41:42 UTC --- Created attachment 22055 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22055 patch The DIE for the abstract origin needs to be created for the member function when emitting the debuginfo for the class type. We can't not do that and still refer to it. The patch avoids clearing TYPE_METHODS. We could also stream it lazily iff it is not possibly shared between instances.