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

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-10-05 14:17 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

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

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-10-05 14:06 --- Subject: Bug 41487 Author: rguenth Date: Mon Oct 5 14:05:54 2009 New Revision: 152450 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152450 Log: 2009-10-05 Richard Guenther PR lto/41552

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

2009-10-04 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-10-04 13:57 --- I have a patch that seems to solve this in conjunction with PR41552. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

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

2009-09-30 Thread rguenther at suse dot de
--- 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 dupl

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

2009-09-30 Thread hubicka at ucw dot cz
--- 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

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

2009-09-30 Thread rguenther at suse dot de
--- 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 duplic

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

2009-09-30 Thread hubicka at ucw dot cz
--- 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

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

2009-09-30 Thread rguenth at gcc dot gnu dot org
--- 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 the cgraph node gets reused by cgraph_clone_node. So something l

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

2009-09-30 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-09-30 11:51 --- More reduced: a.c: extern "C" double sqrt (double __x) throw (); typedef double VECTOR[3]; enum { X = 0, Y = 1, Z = 2, T = 3 }; inline void VLength(double& a, const VECTOR b) { a = sqrt(b[X] * b[X] + b[Y] * b[Y

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

2009-09-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-09-30 11:18 --- Reduced from 453.povray: lto-g/gcc> ./g++ -B. -o povray -nostdlib -shared -fPIC -O -flto torus.3.ii bezier.3.ii lto1: internal compiler error: in duplicate_node_data, at ipa-pure-const.c:633 Please submit a full bu

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

2009-09-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-30 11:18 --- Created an attachment (id=18675) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18675&action=view) reduced testcase, part2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41487

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

2009-09-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-30 11:17 --- Created an attachment (id=18674) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18674&action=view) reduced testcase, part1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41487

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

2009-09-28 Thread hubicka at ucw dot cz
--- Comment #2 from hubicka at ucw dot cz 2009-09-28 15:34 --- Subject: Re: ICE in duplicate_node_data, at ipa-pure-const.c:633 > I'd say something is removing a cgraph node without properly calling back > to the node removal hook. Or for some reason we re-use a not freed > UID. I th

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

2009-09-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-28 11:35 --- For povray we come from ipa-cp: #2 0x00b8a841 in duplicate_node_data (src=0x7435a400, dst=0x74345900, data=0x0) at /space/rguenther/src/svn/lto/gcc/ipa-pure-const.c:633 #3 0x00b6c2