http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46664
Summary: Failed to build 481.wrf in SPEC CPU 2006 with LTO Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com On Linux/ia32, when building 481.wrf in SPEC CPU 2006, revision 167136 gave: gfortran -m32 -O2 -msse2 -mfpmath=sse -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin -DSPEC_CPU_LINUX -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LOGICAL_STRICT -frecord-marker=4 ..... In file included from :12:0: solve_em.fppized.f90: In function 'solve_em': solve_em.fppized.f90:3:0: internal compiler error: in build2_stat, at tree.c:3798 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [/tmp/ccJOwF7W.ltrans2.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status lto-wrapper failedcollect2: ld returned 1 exit status specmake[3]: *** [wrf] Error 1