------- Comment #8 from hubicka at ucw dot cz 2009-09-30 14:33 ------- Subject: Re: ICE in duplicate_node_data, at ipa-pure-const.c:633
> > > ------- Comment #7 from rguenth at gcc dot gnu dot org 2009-09-30 13:01 > ------- > During pure_const_read_summary lto_cgraph_encoder_deref returns a reference > to a bogus cgraph node (it's all zeros, just the UID is filled in). Later That is obviously another instance of problem that summaries are read for nodes that was eliminated during merging declarations from mulitple TUs. If we can easilly figure out what cgraph nodes are eliminated by looking at cgraph->decl, I would propose adding some more readable API and updating the read methods. My last debugging session with this ended with conclussion that the decisions are not fixed yet though, but it looks things has changed. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41487