--- 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 { };
--- 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