public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006
@ 2010-11-16 17:48 hjl.tools at gmail dot com
  2010-11-17 11:52 ` [Bug lto/46506] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-16 17:48 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: LTO miscompiled 465.tonto in SPEC CPU 2006
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x86-64, revision 166795 with  -O3 -funroll-loops -ffast-math
-fwhole-program -flto=jobserver -ffixed-form gave

  Running 465.tonto test peak lto default

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


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

* [Bug lto/46506] LTO miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
@ 2010-11-17 11:52 ` rguenth at gcc dot gnu.org
  2010-11-17 12:08 ` rguenth at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-17 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-17 11:51:23 UTC ---
Hm, worked for me last time.  Re-checking with r166798.


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

* [Bug lto/46506] LTO miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
  2010-11-17 11:52 ` [Bug lto/46506] " rguenth at gcc dot gnu.org
@ 2010-11-17 12:08 ` rguenth at gcc dot gnu.org
  2010-11-17 13:36 ` hjl.tools at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-17 12:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-17 12:05:24 UTC ---
Tonto works for me.


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

* [Bug lto/46506] LTO miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
  2010-11-17 11:52 ` [Bug lto/46506] " rguenth at gcc dot gnu.org
  2010-11-17 12:08 ` rguenth at gcc dot gnu.org
@ 2010-11-17 13:36 ` hjl.tools at gmail dot com
  2010-11-17 14:06 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-17 13:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-17 13:19:07 UTC ---
Created attachment 22429
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22429
The src.alt for 465.tonto

Can you try this alternate source for tonto with

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


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

* [Bug lto/46506] LTO miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-11-17 13:36 ` hjl.tools at gmail dot com
@ 2010-11-17 14:06 ` rguenth at gcc dot gnu.org
  2010-11-18  1:57 ` hjl.tools at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-17 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-17 13:36:03 UTC ---
I have different alternate source, calling destroy_ptr_part_ instead.

But I can't parse the perl patch, so I'm not 100% sure.


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

* [Bug lto/46506] LTO miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-11-17 14:06 ` rguenth at gcc dot gnu.org
@ 2010-11-18  1:57 ` hjl.tools at gmail dot com
  2010-11-20 20:07 ` [Bug middle-end/46506] GCC " hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-18  1:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-18 01:52:20 UTC ---
As of revision 166870, tonto failed with test input, "-i test",
and passed with normal input.


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-11-18  1:57 ` hjl.tools at gmail dot com
@ 2010-11-20 20:07 ` hjl.tools at gmail dot com
  2010-11-20 20:21 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-20 20:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |middle-end
            Summary|LTO miscompiled 465.tonto   |GCC miscompiled 465.tonto
                   |in SPEC CPU 2006            |in SPEC CPU 2006

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-20 20:05:51 UTC ---
Tonto also failed without LTO on test input:

  Running 465.tonto test base lnx32e-gcc default

*** Miscompare of stdout; for details see
   
/export/gnu/import/svn/gcc-test-spec/spec/2006/x86_64/spec/benchspec/CPU2006/465.tonto/run/run_base_test_lnx32e-gcc.0000/stdout.mis


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2010-11-20 20:07 ` [Bug middle-end/46506] GCC " hjl.tools at gmail dot com
@ 2010-11-20 20:21 ` hjl.tools at gmail dot com
  2010-12-08  0:51 ` changpeng.fang at amd dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-20 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-20 20:07:08 UTC ---
Created attachment 22471
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22471
Miscompare of stdout


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2010-11-20 20:21 ` hjl.tools at gmail dot com
@ 2010-12-08  0:51 ` changpeng.fang at amd dot com
  2010-12-08  0:54 ` changpeng.fang at amd dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: changpeng.fang at amd dot com @ 2010-12-08  0:51 UTC (permalink / raw)
  To: gcc-bugs

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

Changpeng Fang <changpeng.fang at amd dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |changpeng.fang at amd dot
                   |                            |com

--- Comment #8 from Changpeng Fang <changpeng.fang at amd dot com> 2010-12-08 00:50:31 UTC ---
*** Bug 46842 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2010-12-08  0:51 ` changpeng.fang at amd dot com
@ 2010-12-08  0:54 ` changpeng.fang at amd dot com
  2010-12-08  1:09 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: changpeng.fang at amd dot com @ 2010-12-08  0:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Changpeng Fang <changpeng.fang at amd dot com> 2010-12-08 00:54:08 UTC ---
This is not a optimization bug because it fails with -O0.
I am seeking a working src_alt. Thanks.


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2010-12-08  0:54 ` changpeng.fang at amd dot com
@ 2010-12-08  1:09 ` hjl.tools at gmail dot com
  2010-12-09  4:06 ` hjl.tools at gmail dot com
  2010-12-09  4:07 ` hjl.tools at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-08  1:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
   Target Milestone|---                         |4.6.0

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-08 01:09:37 UTC ---
Tonto always fails with test input. Ignore it.


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (9 preceding siblings ...)
  2010-12-08  1:09 ` hjl.tools at gmail dot com
@ 2010-12-09  4:06 ` hjl.tools at gmail dot com
  2010-12-09  4:07 ` hjl.tools at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-09  4:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2010.12.09 04:06:16
         Resolution|INVALID                     |
     Ever Confirmed|0                           |1

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-09 04:06:16 UTC ---
It is a real bug.


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

* [Bug middle-end/46506] GCC miscompiled 465.tonto in SPEC CPU 2006
  2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (10 preceding siblings ...)
  2010-12-09  4:06 ` hjl.tools at gmail dot com
@ 2010-12-09  4:07 ` hjl.tools at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-09  4:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-09 04:07:04 UTC ---
Dup.

*** This bug has been marked as a duplicate of bug 46842 ***


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

end of thread, other threads:[~2010-12-09  4:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 17:48 [Bug lto/46506] New: LTO miscompiled 465.tonto in SPEC CPU 2006 hjl.tools at gmail dot com
2010-11-17 11:52 ` [Bug lto/46506] " rguenth at gcc dot gnu.org
2010-11-17 12:08 ` rguenth at gcc dot gnu.org
2010-11-17 13:36 ` hjl.tools at gmail dot com
2010-11-17 14:06 ` rguenth at gcc dot gnu.org
2010-11-18  1:57 ` hjl.tools at gmail dot com
2010-11-20 20:07 ` [Bug middle-end/46506] GCC " hjl.tools at gmail dot com
2010-11-20 20:21 ` hjl.tools at gmail dot com
2010-12-08  0:51 ` changpeng.fang at amd dot com
2010-12-08  0:54 ` changpeng.fang at amd dot com
2010-12-08  1:09 ` hjl.tools at gmail dot com
2010-12-09  4:06 ` hjl.tools at gmail dot com
2010-12-09  4:07 ` 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).