------- Comment #9 from rguenther at suse dot de  2009-09-30 14:38 -------
Subject: Re:  ICE in duplicate_node_data, at
 ipa-pure-const.c:633

On Wed, 30 Sep 2009, hubicka at ucw dot cz wrote:

> ------- 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.

The merge decisions should be all settled at that point.  I don't know
if checking cgraph->decl is reliable though (I didn't trace to where
we allocate and not fill that node).

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41487

Reply via email to