Compiler output:
$ gcc file[12].C -flto -nostdlib -r
In file included from :1:0:
file1.C: In member function '__base_ctor ':
file1.C:2:1: error: type mismatch in address expression
void A::<T42b> (struct A *, void *) *

void A::<T431> (struct A *, void *)

D.2073.__pfn = bar;

file1.C:2:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
returned 1 exit status
collect2: lto-wrapper returned 1 exit status

Tested revisions:
r164228 - crash
r163636 - crash
r161659 - OK
4.5 r163761 - OK

           Summary: [4.6 Regression] ICE: verify_stmts failed: type mismatch
                    in address expression with -flto
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu

Reply via email to