public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
@ 2020-04-01 17:14 hjl.tools at gmail dot com
  2020-04-01 22:26 ` [Bug middle-end/94449] " hjl.tools at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94449
           Summary: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c
                    gcc.dg/torture/pr48731.c
           Product: gcc
           Version: 10.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: ---
            Target: i686

On Linux/i686, r10-7496 gave

FAIL: gcc.c-torture/execute/pr92904.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error)
FAIL: gcc.c-torture/execute/pr92904.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gcc.c-torture/execute/pr92904.c   -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/execute/pr92904.c   -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr48731.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error)
FAIL: gcc.dg/torture/pr48731.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gcc.dg/torture/pr48731.c   -O3 -g  (internal compiler error)
FAIL: gcc.dg/torture/pr48731.c   -O3 -g  (test for excess errors)

r10-7486 is OK.

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
@ 2020-04-01 22:26 ` hjl.tools at gmail dot com
  2020-04-01 22:29 ` hjl.tools at gmail dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-04-01
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is on Linux/x86-64.

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
  2020-04-01 22:26 ` [Bug middle-end/94449] " hjl.tools at gmail dot com
@ 2020-04-01 22:29 ` hjl.tools at gmail dot com
  2020-04-01 22:38 ` hjl.tools at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
/export/gnu/import/git/gcc-test-master-intel64/bld/gcc/xgcc
-B/export/gnu/import/git/gcc-test-master-intel64/bld/gcc/
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.dg/torture/pr48731.c
-mx32 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions -S -o pr48731.s
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.dg/torture/pr48731.c:
In function 'blah':
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.dg/torture/pr48731.c:5:5:
error: missing definition
for SSA_NAME: _104 in statement:
_69 = _104;
during GIMPLE pass: vect
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.dg/torture/pr48731.c:5:5:
internal compiler error: verify_ssa failed
0xfa5802 verify_ssa(bool, bool)
        ../../src-master/gcc/tree-ssa.c:1208
0xcbec85 execute_function_todo
        ../../src-master/gcc/passes.c:1992
0xcbf9cc do_per_function
        ../../src-master/gcc/passes.c:1640
0xcbf9cc execute_todo
        ../../src-master/gcc/passes.c:2039
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
  2020-04-01 22:26 ` [Bug middle-end/94449] " hjl.tools at gmail dot com
  2020-04-01 22:29 ` hjl.tools at gmail dot com
@ 2020-04-01 22:38 ` hjl.tools at gmail dot com
  2020-04-01 22:48 ` hjl.tools at gmail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
/export/gnu/import/git/gcc-test-master-intel64/bld/gcc/xgcc
-B/export/gnu/import/git/gcc-test-master-intel64/bld/gcc/
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.c-torture/execute/pr92904.c
-mx32 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions -w -lm -o ./pr92904.exe
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.c-torture/execute/pr92904.c:
In function 'f1':
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.c-torture/execute/pr92904.c:23:1:
error: missing definition
for SSA_NAME: _98 in statement:
_69 = _98;
during GIMPLE pass: vect
/export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gcc.c-torture/execute/pr92904.c:23:1:
internal compiler error: verify_ssa failed
0xfa5802 verify_ssa(bool, bool)
        ../../src-master/gcc/tree-ssa.c:1208
0xcbec85 execute_function_todo
        ../../src-master/gcc/passes.c:1992
0xcbf9cc do_per_function
        ../../src-master/gcc/passes.c:1640
0xcbf9cc execute_todo
        ../../src-master/gcc/passes.c:2039
Please submit a full bug report, 
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report. 
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2020-04-01 22:38 ` hjl.tools at gmail dot com
@ 2020-04-01 22:48 ` hjl.tools at gmail dot com
  2020-04-01 22:50 ` hjl.tools at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:48 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r10-7501:

commit bd0f22a8d5caea8905f38ff1fafce31c1b7d33ad
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Tue Mar 31 22:48:46 2020 -0500

    Fix PR94043 by making vect_live_op generate lc-phi

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2020-04-01 22:48 ` hjl.tools at gmail dot com
@ 2020-04-01 22:50 ` hjl.tools at gmail dot com
  2020-04-01 22:52 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #4)
> It is caused by r10-7501:

It is r10-7491

> commit bd0f22a8d5caea8905f38ff1fafce31c1b7d33ad
> Author: Kewen Lin <linkw@linux.ibm.com>
> Date:   Tue Mar 31 22:48:46 2020 -0500
> 
>     Fix PR94043 by making vect_live_op generate lc-phi

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2020-04-01 22:50 ` hjl.tools at gmail dot com
@ 2020-04-01 22:52 ` hjl.tools at gmail dot com
  2020-04-02  0:01 ` linkw at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-01 22:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
May need to boostrap GCC on Linux/x86-64 to see it.  It can be reproduced
even when x32 isn't enabled.

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2020-04-01 22:52 ` hjl.tools at gmail dot com
@ 2020-04-02  0:01 ` linkw at gcc dot gnu.org
  2020-04-02  1:03 ` linkw at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-04-02  0:01 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org

--- Comment #7 from Kewen Lin <linkw at gcc dot gnu.org> ---
Thanks for reporting this, looks duplicated of pr94443

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2020-04-02  0:01 ` linkw at gcc dot gnu.org
@ 2020-04-02  1:03 ` linkw at gcc dot gnu.org
  2020-04-02  1:06 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-04-02  1:03 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #8 from Kewen Lin <linkw at gcc dot gnu.org> ---
May I ask for the configuration option? 

I used x86_64 machine in CFarm with cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
...

I was unable to reproduce it with default configuration setting, but I was able
to 
see the ICE with -march=znver2 specified for the failures. 
I suspected there was some basic arch setting in your configuration? If so, I'm
wondering one more reasonable configuration option for E5 machine, it would
help to catch regression failures like this. Thanks in advance!

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2020-04-02  1:03 ` linkw at gcc dot gnu.org
@ 2020-04-02  1:06 ` hjl.tools at gmail dot com
  2020-04-02  2:28 ` linkw at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-02  1:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Kewen Lin from comment #8)
> May I ask for the configuration option? 
> 
> I used x86_64 machine in CFarm with cpuinfo
> 

I used

--prefix=/usr/10.0.1 --enable-clocale=gnu --with-system-zlib --enable-shared
--enable-cet --with-demangler-in-ld --with-fpmath=sse

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2020-04-02  1:06 ` hjl.tools at gmail dot com
@ 2020-04-02  2:28 ` linkw at gcc dot gnu.org
  2020-04-02  2:38 ` linkw at gcc dot gnu.org
  2020-04-02  6:28 ` linkw at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-04-02  2:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #9)
> (In reply to Kewen Lin from comment #8)
> > May I ask for the configuration option? 
> > 
> > I used x86_64 machine in CFarm with cpuinfo
> > 
> 
> I used
> 
> --prefix=/usr/10.0.1 --enable-clocale=gnu --with-system-zlib --enable-shared
> --enable-cet --with-demangler-in-ld --with-fpmath=sse

Thanks, but it didn't work on my side. I guessed it's due to different native.

gcc -march=native -Q --help=target|grep march
  -march=                               corei7-avx

$ ./t.sh -march=znver2
internal compiler error: verify_ssa failed

$ ./t.sh -march=icelake-server
internal compiler error: verify_ssa failed

$ ./t.sh -march=corei7-avx  ==> works fine.

I guess I can't just specify the arch option like --with-arch=znver2 for
configure, since native arch probably misses the support of some instructions
for znver2? I have no idea on x86 arch, is it possible?

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (9 preceding siblings ...)
  2020-04-02  2:28 ` linkw at gcc dot gnu.org
@ 2020-04-02  2:38 ` linkw at gcc dot gnu.org
  2020-04-02  6:28 ` linkw at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-04-02  2:38 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

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

--- Comment #11 from Kewen Lin <linkw at gcc dot gnu.org> ---
Verified that the patch in pr94443 fix these failures as well.

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

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

* [Bug middle-end/94449] [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c
  2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
                   ` (10 preceding siblings ...)
  2020-04-02  2:38 ` linkw at gcc dot gnu.org
@ 2020-04-02  6:28 ` linkw at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: linkw at gcc dot gnu.org @ 2020-04-02  6:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Kewen Lin <linkw at gcc dot gnu.org> ---
Sorry, correction: corei7-avx is from system gcc. With my built gcc, it's
sandybridge. But no difference for the pass/fail result.

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

end of thread, other threads:[~2020-04-02  6:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 17:14 [Bug middle-end/94449] New: [10 Regression] FAIL: gcc.c-torture/execute/pr92904.c gcc.dg/torture/pr48731.c hjl.tools at gmail dot com
2020-04-01 22:26 ` [Bug middle-end/94449] " hjl.tools at gmail dot com
2020-04-01 22:29 ` hjl.tools at gmail dot com
2020-04-01 22:38 ` hjl.tools at gmail dot com
2020-04-01 22:48 ` hjl.tools at gmail dot com
2020-04-01 22:50 ` hjl.tools at gmail dot com
2020-04-01 22:52 ` hjl.tools at gmail dot com
2020-04-02  0:01 ` linkw at gcc dot gnu.org
2020-04-02  1:03 ` linkw at gcc dot gnu.org
2020-04-02  1:06 ` hjl.tools at gmail dot com
2020-04-02  2:28 ` linkw at gcc dot gnu.org
2020-04-02  2:38 ` linkw at gcc dot gnu.org
2020-04-02  6:28 ` linkw 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).