http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49041
Summary: ICE when compiling with lto Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: vincenzo.innoce...@cern.ch g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure -enable-gold=yes --enable-lto --with-fpmath=avx --with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64 --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64 Thread model: posix gcc version 4.6.1 20110513 (prerelease) (GCC) g++ -g -c ranlux.ii (ok) g++ -flto -g -c ranlux.ii ranlux.cpp:171:1: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:158 g++ -flto -fuse-linker-plugin -g -c ranlux.ii ranlux.cpp:171:1: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:158 Please submit a full bug report,