public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO
@ 2010-11-18  2:42 hjl.tools at gmail dot com
  2010-11-18 10:19 ` [Bug lto/46531] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-18  2:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46531

           Summary: Many benchmarks in SPEC CPU 2006 are miscompiled by
                    LTO
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: rguenth@gcc.gnu.org


On Linux/x86-64, revision 166871 with

-O3 -funroll-loops -ffast-math  -fwhole-program -flto=jobserver
-fuse-linker-plugin  

and normal input gave

  Running 471.omnetpp ref peak lto default

471.omnetpp: copy 0 non-zero return code (exit code=1, signal=0)

  Running 483.xalancbmk ref peak lto default

483.xalancbmk: copy 0 non-zero return code (exit code=0, signal=11)

  Running 447.dealII ref peak lto default

447.dealII: copy 0 non-zero return code (exit code=0, signal=6)

  Running 450.soplex ref peak lto default

450.soplex: copy 0 non-zero return code (exit code=0, signal=9)


450.soplex: copy 0 non-zero return code (exit code=0, signal=11)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/46531] Many benchmarks in SPEC CPU 2006 are miscompiled by LTO
  2010-11-18  2:42 [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO hjl.tools at gmail dot com
@ 2010-11-18 10:19 ` rguenth at gcc dot gnu.org
  2010-11-20  6:02 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-18 10:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46531

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.11.18 10:16:32
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-18 10:16:32 UTC ---
Also can be seen here:

http://gcc.opensuse.org/SPEC/CFP/sb-barbella.suse.de-ai-64/recent.html

(the tester finally recovered)

SPEC INT is all fine though.  I see neary all of SPEC FP fail (with
the linker plugin).

SPEC 2k seems to be fine.  What an interesting amount of different LTO
variants ... ;)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/46531] Many benchmarks in SPEC CPU 2006 are miscompiled by LTO
  2010-11-18  2:42 [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO hjl.tools at gmail dot com
  2010-11-18 10:19 ` [Bug lto/46531] " rguenth at gcc dot gnu.org
@ 2010-11-20  6:02 ` hjl.tools at gmail dot com
  2010-11-28 14:38 ` hjl.tools at gmail dot com
  2010-11-28 14:42 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-20  6:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46531

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-20 03:53:00 UTC ---
As of revision 166944, with

-O3 -mfpmath=sse -msse2 -funroll-loops -ffast-math  -fwhole-program
-flto=jobserver -fuse-linker-plugin  

SPEC CPU 2K is compiled and run correctly for both
ia32 and x86-64.

For SPEC CPU 2006, with reference input, the only failure is:

  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

****************************************

for both ia32 and x86-64.

For test input, the only 2 failures are

  Running 416.gamess test peak lto default

****************************************
Contents of exam29.err
****************************************
STOP IN ABRT

****************************************

*** Miscompare of exam29.out; for details see
   
/export/gnu/import/svn/gcc-test-spec/spec/2006/i686/spec/benchspec/CPU2006/4
16.gamess/run/run_peak_test_lto.0000/exam29.out.mis

  Running 465.tonto test peak lto default

*** Miscompare of stdout; for details see
   
/export/gnu/import/svn/gcc-test-spec/spec/2006/i686/spec/benchspec/CPU2006/4
65.tonto/run/run_peak_test_lto.0000/stdout.mis

for both ia32 and x86-64.  They may be the same bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/46531] Many benchmarks in SPEC CPU 2006 are miscompiled by LTO
  2010-11-18  2:42 [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO hjl.tools at gmail dot com
  2010-11-18 10:19 ` [Bug lto/46531] " rguenth at gcc dot gnu.org
  2010-11-20  6:02 ` hjl.tools at gmail dot com
@ 2010-11-28 14:38 ` hjl.tools at gmail dot com
  2010-11-28 14:42 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-28 14:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46531

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-28 14:34:56 UTC ---
Fixed as of revision 167184 with GNU BFD linker in CVS 2010-11-25.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/46531] Many benchmarks in SPEC CPU 2006 are miscompiled by LTO
  2010-11-18  2:42 [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-11-28 14:38 ` hjl.tools at gmail dot com
@ 2010-11-28 14:42 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-28 14:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46531

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-28 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18  2:42 [Bug lto/46531] New: Many benchmarks in SPEC CPU 2006 are miscompiled by LTO hjl.tools at gmail dot com
2010-11-18 10:19 ` [Bug lto/46531] " rguenth at gcc dot gnu.org
2010-11-20  6:02 ` hjl.tools at gmail dot com
2010-11-28 14:38 ` hjl.tools at gmail dot com
2010-11-28 14:42 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).