http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53754
Bug #: 53754 Summary: [lto] ICE in lhd_decl_printable_name, at langhooks.c:222 (with -g) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: vincenzo.innoce...@cern.ch as unrelated to PR53746 itself I open a new one: please refer to PR53746 for the test case (even if I'm sure can be further reduced) c++ -g -fPIC -flto -std=gnu++11 -msse3 CosmicClusterAlgo.ii -shared -o q.so lto1: internal compiler error: in lhd_decl_printable_name, at langhooks.c:222 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: c++ returned 1 exit status /home/innocent/gccDir/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status w/o either -g or -flto works c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/home/innocent/gccDir/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../trunk/configure --prefix=/home/innocent/gccDir --enable-languages=c,c++,lto -enable-gold=yes --enable-lto -enable-libitm -disable-multilib --with-ppl --with-cloog : (reconfigured) ../trunk/configure --prefix=/home/innocent/gccDir --enable-languages=c,c++,lto -enable-gold=yes --enable-lto -enable-libitm -disable-multilib --with-ppl --with-cloog Thread model: posix gcc version 4.8.0 20120623 (experimental) [trunk revision 188906] (GCC) on fedora 17