http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50528
Bug #: 50528 Summary: [4.7 Regression] SPEC CPU 2006 failed to build with LTO Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com On Linux/x86-64, revision 179164 failed to build 416.gamess, 447.dealII and 481.wrf with LTO. Failure is gfortran -O2 -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin -DSPEC_CPU_LP64 ... lto1: internal compiler error: in account_size_time, at ipa-inline-analysis.c:601 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: gfortran returned 1 exit status /usr/local/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status Revision 179104 is OK.