[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-24 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-05-24 17:42 --- Subject: Bug 44196 Author: rguenth Date: Mon May 24 17:41:47 2010 New Revision: 159789 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159789 Log: 2010-05-24 Richard Guenther rguent...@suse.de PR

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-24 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-05-24 17:52 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-19 13:59 --- Confirmed. Reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-19 14:10 --- template typename Ordinal struct DirectSerializationTraits { static void fromCountToDirectBytes(const Ordinal count) {} }; templatetypename Ordinal class SerializationTraits : public

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-19 14:40 --- Hm, we still have TYPE_DECLs in TYPE_FIELDs somehow. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44196

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-19 15:01 --- Hm, we have a cgraph node ConstValueTypeSerializationBufferOrdinal::ConstValueTypeSerializationBuffer(Ordinal) [with Ordinal = int]/2(1) @0x77edd930 (asm: _ZN33ConstValueTypeSerializationBufferIiEC2Ei) analyzed

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-05-19 15:08 --- I suppose this is an alias but we fail to clear its body/block tree. We end up refering to some TYPE_DECL in its BLOCK tree from somewhere else (but we don't stream that function decl in the end). --

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread hubicka at ucw dot cz
--- Comment #7 from hubicka at ucw dot cz 2010-05-19 15:11 --- Subject: Re: lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597 I suppose this is an alias but we fail to clear its body/block tree. We end up refering to

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2010-05-19 15:13 --- Subject: Re: lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597 On Wed, 19 May 2010, hubicka at ucw dot cz wrote: --- Comment #7 from hubicka at ucw dot cz

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-05-19 15:57 --- Subject: Bug 44196 Author: rguenth Date: Wed May 19 15:57:17 2010 New Revision: 159582 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159582 Log: 2010-05-19 Richard Guenther rguent...@suse.de PR

[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-05-19 15:58 --- Fixed for 4.6. Leaving open for eventual backport for 4.5.1. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added