http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48148
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-16 16:19:45 UTC --- Created attachment 23680 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23680 gcc47-pr48148.patch I think this patch ought to fix it (or we could just not try to force_decl_die if DECL_ABSTRACT_ORIGIN on the DECL_EXTERNAL tdecl is non-NULL.