http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48661
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86 |i?86-*-* Known to work| |4.5.2 Keywords| |wrong-code CC| |jamborm at gcc dot gnu.org Host|x86_64-unknown-linux-gnu | Summary|gcc 4.6 wrong-code |[4.6/4.7 Regression] |regression |wrong-code regression with | |devirtualization Target Milestone|--- |4.6.1 Known to fail| |4.6.0 Build|gcc version 4.6.1 20110415 | |(prerelease) (GCC) | --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 10:44:02 UTC --- On trunk it ICEs with t.C:71:1: error: a call to thunk improperly represented in the call graph: # VUSE <.MEM_11> D.1963_3 = (int I4Momentum::<T2aa> (const struct I4Momentum *))P4Impl::_ZTv0_n12_NK6P4Impl2ptEv (&pp.D.1798); void testSetters()/24(12) @0x7ffff5b784a0 (asm: _Z11testSettersv) availability:available analyzed needed reachable body externally_visible finalized called by: int main()/25 (1.00 per call) (can throw external) calls: int printf(const char*, ...)/30 (1.00 per call) int printf(const char*, ...)/30 (1.00 per call) virtual int P4Impl::pt() const/13 (1.00 per call) P4Impl::P4Impl(const Hep3Vector&)/12 (1.00 per call) References: Refering this function: has 3 outgoing edges for indirect calls. t.C:71:1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. 4.6 brach head also fails.