http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46578
Summary: 416.gamess in SPEC CPU 2006 is miscompiled by LTO with gold 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/x86-64, 416.gamess in SPEC CPU 2006 is miscompiled by -O3 -mfpmath=sse -msse2 -funroll-loops -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin when GCC is configured with --with-plugin-ld=ld.gold. Running 416.gamess ref peak lto default 416.gamess: copy 0 non-zero return code (exit code=0, signal=11) **************************************** Contents of cytosine.2.err **************************************** STOP IN ABRT **************************************** **************************************** Contents of triazolium.err **************************************** STOP IN ABRT The same benchmark works fine when GCC is configured with --with-plugin-ld=ld, using binutils as of 2010-10-20 CVS.