http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48354
Summary: internal compiler error: in splice_child_die, at dwarf2out.c:8064 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: wouter.vermae...@scarlet.be I got this ICE when trying to compile the openMSX package using -flto. I managed to reduce it to this: > cat bug.ii template<typename T> struct Identity { typedef T type; }; struct S { typedef void (S::*FP)(); FP fp; }; void g(); void f() { typedef Identity<S>::type Dummy; S s; g(); } > g++-snapshot -r -nostdlib -g -flto bug.ii ... bug.ii:11:1: internal compiler error: in splice_child_die, at dwarf2out.c:8064 ... I'm using revision trunk@171714. This may or may not be a duplicate of bug 46135. Though the testcase looks very different.