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/44196] lto1: ICE: tree check: expected field_decl, have type_decl in gimple_types_compatible_p, at gimple.c:3597



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


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