This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/41487] ICE in duplicate_node_data, at ipa-pure-const.c:633



------- Comment #11 from rguenther at suse dot de  2009-09-30 15:14 -------
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 #10 from hubicka at ucw dot cz  2009-09-30 15:11 -------
> Subject: Re:  ICE in duplicate_node_data, at ipa-pure-const.c:633
> 
> > 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).
> 
> It would be probably better to simply return NULL instead of allocating
> fake node outside cgraph.  It will make code not aware of the fact that
> some nodes disappear at reading time happilly ICE too.

Yeah, that sounds like a good idea.  Or read in summary data before
merging nodes ...

Richard.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]