[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Richard Biener  ---
Fixed I assume.

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

--- Comment #6 from Steve Ellcey  ---
Author: sje
Date: Fri Jan 18 00:41:40 2019
New Revision: 268054

URL: https://gcc.gnu.org/viewcvs?rev=268054&root=gcc&view=rev
Log:
2018-01-17  Steve Ellcey  

PR fortran/88898
* gfortran.dg/gomp/declare-simd-2.f90: Add aarch64 target specifier to
warning checks.
* gfortran.dg/gomp/pr79154-1.f90: Ditto.
* gfortran.dg/gomp/pr83977.f90: Ditto.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/gomp/declare-simd-2.f90
trunk/gcc/testsuite/gfortran.dg/gomp/pr79154-1.f90
trunk/gcc/testsuite/gfortran.dg/gomp/pr83977.f90

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Host||x86_64-*-freebsd

--- Comment #5 from kargl at gcc dot gnu.org ---
My configure command is

../gccx/configure --prefix=$HOME/work/x --enable-languages=c,fortran \
  --enable-bootstrap --disable-nls

This is on FreeBSD.

FreeBSD 13.0-CURRENT r343025 HPC amd64
FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM
7.0.1)
VT(vga): text 80x25
CPU: AMD FX(tm)-8350 Eight-Core Processor(4018.34-MHz K8-class CPU)

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

Steve Ellcey  changed:

   What|Removed |Added

 CC||sje at gcc dot gnu.org

--- Comment #4 from Steve Ellcey  ---
I think this is my fault.  My patch shouldn't have affected x86 at all but I
see my build/test on x86 only tested C and C++, I didn't have Fortran
configured in
when I checked for regressions.

The problem is the warnings I added to the Fortran tests, like:

-function f1 (a, b, c, d, e, f)
+function f1 (a, b, c, d, e, f) ! { dg-warning "GCC does not currently support
mixed size types for 'simd' functions" }

I didn't add a '{ target aarch64-*-* }' clause to the messages.  I will work on
a patch, it is only the tests that should need to be changed, not the compiler.

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

Andrew Stubbs  changed:

   What|Removed |Added

 CC||ams at gcc dot gnu.org

--- Comment #3 from Andrew Stubbs  ---
I'll take a look tomorrow.

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

--- Comment #2 from kargl at gcc dot gnu.org ---
In looking at the failures in the log, I see

gfortran: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa
as offload target


This may be du to a commit by  Andrew Stubbs  ,
but bugzilla won't allow me to add Andrew to CC list.

[Bug fortran/88898] [Regression 9] gomp is broken by r268045

2019-01-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88898

--- Comment #1 from kargl at gcc dot gnu.org ---
The five failures are

FAIL: gfortran.dg/gomp/declare-simd-2.f90   -O   (test for warnings, line 3)
FAIL: gfortran.dg/gomp/declare-simd-2.f90   -O   (test for warnings, line 15)
Running /safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/gomp/gomp.exp ...
FAIL: gfortran.dg/gomp/pr79154-1.f90   -O   (test for warnings, line 4)
FAIL: gfortran.dg/gomp/pr79154-1.f90   -O   (test for warnings, line 23)
Running /safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/graphite/graphite.exp ...
FAIL: gfortran.dg/gomp/pr83977.f90   -O   (test for warnings, line 4)

The log for the declare-simd-2.f90 failure does not contain much info 

spawn -ignore SIGHUP /safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../gfortran
-B/safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../
-B/safe/sgk/gcc/objx/x86_64-unknown-freebsd13.0/./libgfortran/
/safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/gomp/declare-simd-2.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -fopenmp -Wno-hsa -S -o declare-simd-2.s
FAIL: gfortran.dg/gomp/declare-simd-2.f90   -O   (test for warnings, line 3)
FAIL: gfortran.dg/gomp/declare-simd-2.f90   -O   (test for warnings, line 15)
PASS: gfortran.dg/gomp/declare-simd-2.f90   -O  (test for excess errors)
testcase /safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/gomp/gomp.exp completed
in
 0 seconds

The log for pr79154-1.f90 shows

spawn -ignore SIGHUP /safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../gfortran
-B
/safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../
-B/safe/sgk/gcc/objx/x86_64-unk
nown-freebsd13.0/./libgfortran/
/safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/gom
p/pr79154-1.f90 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-
fdiagnostics-color=never -O -fopenmp -Wno-hsa -S -o pr79154-1.s
FAIL: gfortran.dg/gomp/pr79154-1.f90   -O   (test for warnings, line 4)
PASS: gfortran.dg/gomp/pr79154-1.f90   -O   (test for bogus messages, line 5)
PASS: gfortran.dg/gomp/pr79154-1.f90   -O   (test for bogus messages, line 13)
PASS: gfortran.dg/gomp/pr79154-1.f90   -O   (test for bogus messages, line 19)
FAIL: gfortran.dg/gomp/pr79154-1.f90   -O   (test for warnings, line 23)
PASS: gfortran.dg/gomp/pr79154-1.f90   -O   (test for bogus messages, line 24)
PASS: gfortran.dg/gomp/pr79154-1.f90   -O   (test for bogus messages, line 29)
Executing on host: /safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../gfortran
-B/safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../
-B/safe/sgk/gcc/objx/x86_64-unknown-freebsd13.0/./libgfortran/
offload_gcn72945.c-fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-foffload=amdgcn-unknown-amdhsa -S -o offload_gcn72945.s(timeout = 300)
spawn -ignore SIGHUP /safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../gfortran
-B/safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../
-B/safe/sgk/gcc/objx/x86_64-unknown-freebsd13.0/./libgfortran/
offload_gcn72945.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-foffload=amdgcn-unknown-amdhsa -S -o offload_gcn72945.s
gfortran: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa
as offload target
compilation terminated.
compiler exited with status 1
PASS: gfortran.dg/gomp/pr79154-1.f90   -O  (test for excess errors)

The last failure is
spawn -ignore SIGHUP /safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../gfortran
-B/safe/sgk/gcc/objx/gcc/testsuite/gfortran/../../
-B/safe/sgk/gcc/objx/x86_64-unknown-freebsd13.0/./libgfortran/
offload_gcn73178.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-foffload=amdgcn-unknown-amdhsa -S -o offload_gcn73178.s
gfortran: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa
as offload target
compilation terminated.
compiler exited with status 1
PASS: gfortran.dg/gomp/pr83977.f90   -O  (test for excess errors)
testcase /safe/sgk/gcc/gccx/gcc/testsuite/gfortran.dg/gomp/gomp.exp completed
in 0 seconds