http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55493
Bug #: 55493
Summary: [4.8 Regression] LTO always ICEs on i686-w64-mingw32
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: lto
AssignedTo: [email protected]
ReportedBy: [email protected]
Revision 193777 ICEs with
lto1.exe: internal compiler error: cannot read LTO decls from <the object
file>
when linking with -flto on i686-w64-mingw32. This happens for all inputs, even
for "int main() { return 0; }" or "" (that is, an empty file).
>> gcc -v
Using built-in specs.
COLLECT_GCC=C:\devel\mingw\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/devel/mingw/bin/../libexec/gcc/i686-w64-mingw32/4.8.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../gcc-4.8-svn/configure --disable-nls
--build=i686-w64-mingw32 --disable-multilib --enable-languages=c,c++,lto
--disable-win32-registry --enable-openmp --enable-libgomp --enable-graphite
--enable-cxx-flags='-fno-function-sections -fno-data-sections'
--enable-threads=posix --disable-symvers --enable-fully-dynamic-string
--disable-libstdcxx-pch --with-arch=i686 --with-tune=generic
--enable-checking=release --disable-werror --disable-sjlj-exceptions
--prefix=/c/builds/gcc/toolchain/out --with-gmp=/c/builds/gcc/prerequisites/out
--with-mpfr=/c/builds/gcc/prerequisites/out
--with-mpc=/c/builds/gcc/prerequisites/out
--with-isl=/c/builds/gcc/prerequisites/out
--with-cloog=/c/builds/gcc/prerequisites/out
--with-libiconv-prefix=/c/builds/gcc/prerequisites/out
--with-host-libstdcxx=-lstdc++ --enable-cloog-backend=isl
Thread model: posix
gcc version 4.8.0 20121124 (experimental) (GCC)