http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50616
Bug #: 50616 Summary: lto1.exe: internal compiler error: invalid resolution in the resolution file Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: i.nix...@gmail.com I compile the files attached with this command-line: "g++ ltotest.cpp int.cpp -oltotest -s -O3 -flto" and get the following error: "lto1.exe: internal compiler error: invalid resolution in the resolution file" configured with: g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/i686-pc-mingw32/4.7.0/lto-wrapper.exe Target: i686-pc-mingw32 Configured with: ../../mingw-src/gcc-4.7-20111001/configure \ --host=i686-pc-mingw32 \ --build=i686-pc-mingw32 \ --target=i686-pc-mingw32 \ --prefix=/mingw-sjlj-x86 \ --with-arch=i686 \ --with-tune=generic \ --enable-languages=c,c++,lto,objc,obj-c++,fortran \ --with-host-libstdcxx=-lstdc++ \ --disable-shared \ --enable-static \ --enable-cxx-flags='-fno-function-sections -fno-data-sections' \ --enable-libstdcxx-time=yes \ --enable-libgomp \ --enable-lto \ --enable-graphite \ --enable-cloog-backend=isl \ --enable-checking=release \ --enable-fully-dynamic-string \ --enable-threads=posix \ --disable-libstdcxx-pch \ --enable-libstdcxx-debug \ --enable-sjlj-exceptions \ --disable-debug \ --disable-bootstrap \ --disable-multilib \ --disable-rpath \ --disable-win32-registry \ --disable-nls \ --disable-werror \ --disable-symvers \ --with-gmp=/mingw-libs \ --with-mpfr=/mingw-libs \ --with-mpc=/mingw-libs \ --with-ppl=/mingw-libs \ --with-cloog=/mingw-libs \ --with-libiconv-prefix=/mingw-libs \ Thread model: posix gcc version 4.7.0 20111001 (experimental)