public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
@ 2015-10-09 16:36 hjl.tools at gmail dot com
  2015-10-09 19:03 ` [Bug middle-end/67909] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-10-09 16:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

            Bug ID: 67909
           Summary: [6 Regression] 416.gamess in SPEC CPU 2006 is
                    miscompiled
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Linux/x86-64, revision 228616 gave

  Running 416.gamess ref peak lnx32e-gcc default

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


****************************************
Contents of h2ocu2+.gradient.err
****************************************

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7f558732ecd9 in ???
#1  0x7f558732df5d in ???
#2  0x31c64344af in ???
#3  0x7f877e in ???
#4  0x7fe28b in ???
#5  0x10ad021 in ???
#6  0xf99f8c in ???
#7  0x8b9d40 in ???
#8  0x8ba1d4 in ???
#9  0x8bb7a7 in ???
#10  0x8bbf64 in ???
#11  0x8bc995 in ???
#12  0x4015cc in ???
#13  0x31c64206af in ???
#14  0x401618 in ???
#15  0xffffffffffffffff in ???
/bin/sh: line 1:  3415 Segmentation fault      (core dumped) taskset -c
$TASK_CPU ../run_peak_ref_lnx32e-gcc.0000/gamess_peak.lnx32e-gcc

****************************************
Invalid run; unable to continue.
If you wish to ignore errors please use '-I' or ignore_errors

when compiled with

gfortran  -O3 -funroll-loops -ffast-math   -DSPEC_CPU_LP64


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

* [Bug middle-end/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
@ 2015-10-09 19:03 ` hjl.tools at gmail dot com
  2015-10-12 20:12 ` [Bug tree-optimization/67909] " pthaugen at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-10-09 19:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-10-09
                 CC|                            |ienkovich at gcc dot gnu.org
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It was caused by r228599.


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
  2015-10-09 19:03 ` [Bug middle-end/67909] " hjl.tools at gmail dot com
@ 2015-10-12 20:12 ` pthaugen at gcc dot gnu.org
  2015-10-13 12:05 ` ysrumyan at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2015-10-12 20:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

Pat Haugen <pthaugen at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pthaugen at gcc dot gnu.org

--- Comment #2 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #1)
> It was caused by r228599.

I am also seeing a failure on gamess on powerpc64 starting with that revision.
In my case it's a verification error (miscompare of the output).


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
  2015-10-09 19:03 ` [Bug middle-end/67909] " hjl.tools at gmail dot com
  2015-10-12 20:12 ` [Bug tree-optimization/67909] " pthaugen at gcc dot gnu.org
@ 2015-10-13 12:05 ` ysrumyan at gmail dot com
  2015-10-13 12:07 ` ysrumyan at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ysrumyan at gmail dot com @ 2015-10-13 12:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

--- Comment #3 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Check that guard edge is around the inner loop was missed. After adding it
416.gamess run successfully.
I sent the fix for review.


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-10-13 12:05 ` ysrumyan at gmail dot com
@ 2015-10-13 12:07 ` ysrumyan at gmail dot com
  2015-10-13 13:09 ` ienkovich at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ysrumyan at gmail dot com @ 2015-10-13 12:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

--- Comment #4 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Created attachment 36498
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36498&action=edit
proposed patch

This patch cures run-time error for 416.gamess.


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-10-13 12:07 ` ysrumyan at gmail dot com
@ 2015-10-13 13:09 ` ienkovich at gcc dot gnu.org
  2015-10-13 18:20 ` pthaugen at gcc dot gnu.org
  2015-10-14  9:37 ` ienkovich at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-10-13 13:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

--- Comment #5 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
Author: ienkovich
Date: Tue Oct 13 13:08:31 2015
New Revision: 228760

URL: https://gcc.gnu.org/viewcvs?rev=228760&root=gcc&view=rev
Log:
gcc/

2014-10-13  Yuri Rumyantsev  <ysrumyan@gmail.com>

        PR tree-optimization/67909, 67947
        * tree-ssa-loop-unswitch.c (find_loop_guard): Add check that GUARD_EDGE
        really skip the inner loop.

gcc/testsuite/

2014-10-13  Yuri Rumyantsev  <ysrumyan@gmail.com>

        PR tree-optimization/67909, 67947
        * gcc.dg/torture/pr67947.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr67947.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-unswitch.c


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2015-10-13 13:09 ` ienkovich at gcc dot gnu.org
@ 2015-10-13 18:20 ` pthaugen at gcc dot gnu.org
  2015-10-14  9:37 ` ienkovich at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2015-10-13 18:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

--- Comment #6 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
416.gamess now passes on powerpc64 as well.


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

* [Bug tree-optimization/67909] [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled
  2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2015-10-13 18:20 ` pthaugen at gcc dot gnu.org
@ 2015-10-14  9:37 ` ienkovich at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-10-14  9:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67909

Ilya Enkovich <ienkovich at gcc dot gnu.org> changed:

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

--- Comment #7 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
(In reply to Pat Haugen from comment #6)
> 416.gamess now passes on powerpc64 as well.

Fixed then


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

end of thread, other threads:[~2015-10-14  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 16:36 [Bug middle-end/67909] New: [6 Regression] 416.gamess in SPEC CPU 2006 is miscompiled hjl.tools at gmail dot com
2015-10-09 19:03 ` [Bug middle-end/67909] " hjl.tools at gmail dot com
2015-10-12 20:12 ` [Bug tree-optimization/67909] " pthaugen at gcc dot gnu.org
2015-10-13 12:05 ` ysrumyan at gmail dot com
2015-10-13 12:07 ` ysrumyan at gmail dot com
2015-10-13 13:09 ` ienkovich at gcc dot gnu.org
2015-10-13 18:20 ` pthaugen at gcc dot gnu.org
2015-10-14  9:37 ` ienkovich 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).