On Jan 16, 2013, Jan Hubicka wrote: > For 2) the symtab_get_node test seems resonable to me. It is what > dwarf2out does, too. We keep nodes for external vars that are > refereed but we remove all optimized out nodes. Since you agreed this was the right approach and richi said he didn't care much, I went ahead and installed the patch I'd proposed at first.