This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2010 15:01:48 -0000
- Subject: [Bug lto/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597
- References: <bug-44196-19203@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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
ConstValueTypeSerializationBuffer<Ordinal>::ConstValueTypeSerializationBuffer(Ordinal)
[with Ordinal = int]/2(1) @0x7ffff7edd930 (asm:
_ZN33ConstValueTypeSerializationBufferIiEC2Ei) analyzed 11 time, 12 benefit 2
size, 3 benefit reachable body finalized
called by: int main()/0 (1.00 per call) (can throw external)
calls: static void
DirectSerializationTraits<Ordinal>::fromCountToDirectBytes(Ordinal) [with
Ordinal = int]/4 (1.00 per call)
References:
Refering this function:
aliases & thunks:
ConstValueTypeSerializationBuffer<Ordinal>::ConstValueTypeSerializationBuffer(Ordinal)
[with Ordinal = int]/3 (asm: _ZN33ConstValueTypeSerializationBufferIiEC1Ei)
where its function decl has DECL_SAVED_TREE, DECL_INITIAL and
gimple_has_body_p is false. Huh.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44196