[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2017-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Andrew Pinski  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|6.5 |7.0

--- Comment #7 from Andrew Pinski  ---
Fixed.

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2017-07-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|6.4 |6.5

--- Comment #6 from Richard Biener  ---
GCC 6.4 is being released, adjusting target milestone.

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-12-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|6.3 |6.4

--- Comment #5 from Jakub Jelinek  ---
GCC 6.3 is being released, adjusting target milestone.

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-08-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|6.2 |6.3

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-08-14 Thread cltang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

--- Comment #4 from Chung-Lin Tang  ---
Author: cltang
Date: Sun Aug 14 18:19:10 2016
New Revision: 239457

URL: https://gcc.gnu.org/viewcvs?rev=239457&root=gcc&view=rev
Log:
2016-08-14  Chung-Lin Tang  

PR fortran/70598

gcc/fortran/
* openmp.c (resolve_omp_clauses): Adjust use_device clause
handling to only allow pointers and arrays.

gcc/testsuite/
* gfortran.dg/goacc/host_data-tree.f95: Adjust to use pointers
in use_device clause.
* gfortran.dg/goacc/uninit-use-device-clause.f95: Likewise.
* gfortran.dg/goacc/list.f95: Adjust to catch
"neither a POINTER nor an array" error messages.

libgomp/
* testsuite/libgomp.oacc-fortran/host_data-1.f90: New test.


Added:
trunk/libgomp/testsuite/libgomp.oacc-fortran/host_data-1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/openmp.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95
trunk/gcc/testsuite/gfortran.dg/goacc/list.f95
trunk/gcc/testsuite/gfortran.dg/goacc/uninit-use-device-clause.f95
trunk/libgomp/ChangeLog

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-05-12 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Thomas Schwinge  changed:

   What|Removed |Added

   Keywords||patch
 CC||tschwinge at gcc dot gnu.org
   Target Milestone|7.0 |6.2

--- Comment #3 from Thomas Schwinge  ---
In
,
Chung-Lin has now posted a patch (pending review) that should make the OpenACC
host_data construct usable in GCC Fortran.  (Problem discussed in

before.)

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-04-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

--- Comment #2 from vries at gcc dot gnu.org ---
(In reply to vries from comment #1)
> On trunk

Sorry, that should have been gomp-4_0-branch

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-04-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

vries at gcc dot gnu.org changed:

   What|Removed |Added

 CC||vries at gcc dot gnu.org

--- Comment #1 from vries at gcc dot gnu.org ---
On trunk, for -m64, we have XFAIL/UNRESOLVED:
...
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O0  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O0  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O0  compilation failed to produce
executa
ble
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O1  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O1  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O1  compilation failed to produce
executa
ble
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O2  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O2  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O2  compilation failed to produce
executa
ble
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -fomit-frame-pointer -funroll-loops
-f
peel-loops -ftracer -finline-functions  compilation failed to produce
executable
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -g  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -g  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -g  compilation failed to produce
exec
utable
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -Os  (internal compiler error)
XFAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -Os  (test for excess errors)
UNRESOLVED: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -Os  compilation failed to produce
executa
ble
...

But for -m32, we have XPASS/FAIL:
...
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O0  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O0  execution test
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O1  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O1  execution test
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O2  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O2  execution test
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -g  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -O3 -g  execution test
XPASS: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -Os  (test for excess errors)
FAIL: libgomp.oacc-fortran/host_data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -foffload=disable  -

[Bug fortran/70598] Fortran OpenACC host_data construct ICE

2016-04-08 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70598

Thomas Schwinge  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2016-04-08
   Target Milestone|--- |7.0
 Ever confirmed|0   |1