http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51346
Bug #: 51346 Summary: [4.7 Regression] LTO bootstrap failed with bootstrap-profiled Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com On Linux/x86-64, revision 181803 failed to bootstrap-profiled when configured with: --prefix=/usr/local --enable-clocale=gnu --with-system-zlib --enable-shared --with-demangler-in-ld --with-build-config=bootstrap-lto --with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc In function 'objc_finish_foreach_loop': lto1: internal compiler error: in cgraph_add_edge_to_call_site_hash, at cgraph.c:765 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[7]: *** [/tmp/cc1texoz.ltrans0.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make[6]: *** [cc1obj] Error 1 Revision 181801 is OK.