[Bug lto/48354] New: internal compiler error: in splice_child_die, at dwarf2out.c:8064

wouter.vermaelen at scarlet dot be gcc-bugzilla@gcc.gnu.org
Wed Mar 30 08:18:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: wouter.vermaelen@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.



More information about the Gcc-bugs mailing list