public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
@ 2011-06-18 23:47 hjl.tools at gmail dot com
  2011-06-20  4:53 ` [Bug middle-end/49465] " law at redhat dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2011-06-18 23:47 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] Revision 175114 miscompiled 403.gcc
                    in SPEC CPU 2006
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: law@redhat.com


On Linux/x86-64, revision 175114:

http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg00603.html

miscompiled 403.gcc in SPEC CPU 2006 with

-O2 -ffast-math   -DSPEC_CPU_LP64:

Setting Up Run Directories
  Setting up 403.gcc ref base lnx32e-gcc default: created
(run_base_ref_lnx32e-gcc.0000)
Running Benchmarks
  Running 403.gcc ref base lnx32e-gcc default

*** Miscompare of expr.s; for details see
   
/export/regression/rrs/spec/2006/spec/benchspec/CPU2006/403.gcc/run/run_base_ref_lnx32e-gcc.0000/expr.s.mis

*** Miscompare of scilab.s; for details see
   
/export/regression/rrs/spec/2006/spec/benchspec/CPU2006/403.gcc/run/run_base_ref_lnx32e-gcc.0000/scilab.s.mis


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
@ 2011-06-20  4:53 ` law at redhat dot com
  2011-06-20 10:24 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-20  4:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.20 04:52:44
     Ever Confirmed|0                           |1


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
  2011-06-20  4:53 ` [Bug middle-end/49465] " law at redhat dot com
@ 2011-06-20 10:24 ` rguenth at gcc dot gnu.org
  2011-06-20 17:07 ` law at redhat dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-20 10:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
  2011-06-20  4:53 ` [Bug middle-end/49465] " law at redhat dot com
  2011-06-20 10:24 ` rguenth at gcc dot gnu.org
@ 2011-06-20 17:07 ` law at redhat dot com
  2011-06-20 19:41 ` law at redhat dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-20 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jeffrey A. Law <law at redhat dot com> 2011-06-20 17:05:56 UTC ---
Something goofy happens when we compile loop.c in cpu2k6...  Still
investigating.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-06-20 17:07 ` law at redhat dot com
@ 2011-06-20 19:41 ` law at redhat dot com
  2011-06-20 22:52 ` law at redhat dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-20 19:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |law at redhat dot com
                   |gnu.org                     |

--- Comment #2 from Jeffrey A. Law <law at redhat dot com> 2011-06-20 19:41:43 UTC ---
We're mucking up a PHI argument in one particular case...  I'm testing a fix.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-06-20 19:41 ` law at redhat dot com
@ 2011-06-20 22:52 ` law at redhat dot com
  2011-06-22  4:24 ` kirill.yukhin at intel dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-20 22:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> 2011-06-20 22:51:17 UTC ---
Fix looking good.  Doing a cpu2k6 int test right now.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-06-20 22:52 ` law at redhat dot com
@ 2011-06-22  4:24 ` kirill.yukhin at intel dot com
  2011-06-23 13:06 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: kirill.yukhin at intel dot com @ 2011-06-22  4:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Yukhin Kirill <kirill.yukhin at intel dot com> 2011-06-22 04:23:34 UTC ---
(In reply to comment #3)
> Fix looking good.  Doing a cpu2k6 int test right now.

Jeffrey, could you please share your patch?


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2011-06-22  4:24 ` kirill.yukhin at intel dot com
@ 2011-06-23 13:06 ` hjl.tools at gmail dot com
  2011-06-23 20:27 ` law at redhat dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2011-06-23 13:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-23 13:05:29 UTC ---
(In reply to comment #3)
> Fix looking good.  Doing a cpu2k6 int test right now.

Hi Jeff, can I try your patch on my machine? Thanks.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2011-06-23 13:06 ` hjl.tools at gmail dot com
@ 2011-06-23 20:27 ` law at redhat dot com
  2011-06-23 20:30 ` law at redhat dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-23 20:27 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

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

--- Comment #8 from Jeffrey A. Law <law at redhat dot com> 2011-06-23 20:26:57 UTC ---
Fixed per patch.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2011-06-23 20:30 ` law at redhat dot com
@ 2011-06-23 20:30 ` law at gcc dot gnu.org
  2011-06-23 21:27 ` law at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: law at gcc dot gnu.org @ 2011-06-23 20:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-06-23 20:26:10 UTC ---
Author: law
Date: Thu Jun 23 20:26:07 2011
New Revision: 175351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175351
Log:

    PR middle-end/49465
    * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition
    to detect threading through joiner block.  If there was already
    an edge to the new target, then do not change the PHI nodes.

*************** fix_duplicate_block_edges (struct redire

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-threadupdate.c


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2011-06-23 20:27 ` law at redhat dot com
@ 2011-06-23 20:30 ` law at redhat dot com
  2011-06-23 20:30 ` law at gcc dot gnu.org
  2011-06-23 21:27 ` law at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: law at redhat dot com @ 2011-06-23 20:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jeffrey A. Law <law at redhat dot com> 2011-06-23 20:26:32 UTC ---
Fixed.


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

* [Bug middle-end/49465] [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006
  2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
                   ` (9 preceding siblings ...)
  2011-06-23 20:30 ` law at gcc dot gnu.org
@ 2011-06-23 21:27 ` law at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: law at gcc dot gnu.org @ 2011-06-23 21:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jeffrey A. Law <law at gcc dot gnu.org> 2011-06-23 21:26:08 UTC ---
Author: law
Date: Thu Jun 23 21:26:04 2011
New Revision: 175352

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175352
Log:

    PR middle-end/49465
    * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition
    to detect threading through joiner block.  If there was already
    an edge to the new target, then do not change the PHI nodes.


Modified:
    trunk/gcc/ChangeLog


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

end of thread, other threads:[~2011-06-23 21:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-18 23:47 [Bug middle-end/49465] New: [4.7 Regression] Revision 175114 miscompiled 403.gcc in SPEC CPU 2006 hjl.tools at gmail dot com
2011-06-20  4:53 ` [Bug middle-end/49465] " law at redhat dot com
2011-06-20 10:24 ` rguenth at gcc dot gnu.org
2011-06-20 17:07 ` law at redhat dot com
2011-06-20 19:41 ` law at redhat dot com
2011-06-20 22:52 ` law at redhat dot com
2011-06-22  4:24 ` kirill.yukhin at intel dot com
2011-06-23 13:06 ` hjl.tools at gmail dot com
2011-06-23 20:27 ` law at redhat dot com
2011-06-23 20:30 ` law at redhat dot com
2011-06-23 20:30 ` law at gcc dot gnu.org
2011-06-23 21:27 ` law at gcc dot gnu.org

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).