[Bug lto/45667] New: [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Sep 14 13:20:00 GMT 2010


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 <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper:
/mnt/svn/gcc-trunk/binary-164228-lto-fortran-checking-yes-rtl-df/bin/gcc
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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45667



More information about the Gcc-bugs mailing list