------- Comment #8 from jakub at gcc dot gnu dot org 2009-12-16 17:31 ------- Created an attachment (id=19323) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19323&action=view) gcc45-pr42386.patch
Another alternative - don't mark nodes as reachable because of same_comdat_group links if they are DECL_EXTERNAL. Fixes this too, and has the advantage that we don't have issues with DECL_DEFER_OUTPUT dtors we decided to keep DECL_EXTERNAL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386