[Bug c++/43812] [4.5/4.6 Regression] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-20 09:45 --- Fails at -O -fipa-cp -fwhole-program typedef float scoord_t; typedef scoord_t sdist_t; typedef sdist_t dist_t; templatetypename T class TRay { }; typedef TRaydist_t Ray; class BBox { }; class RenderContext { };

[Bug c++/43812] [4.5/4.6 Regression] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760

2010-04-20 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2010-04-20 14:49 --- The problem here is that we have a call graph node with !DECL_COMDAT (node-decl) in a same_comdat_group linked list. Thus it is kept alive but looked at as if it should have been dead long time ago. It seems