gcc/libgomp/testsuite/libgomp.fortran
Tobias Burnus c3cb71ef35 OpenMP] Fix use_device_… with absent optional arg
gcc/fortran/
        * trans-openmp.c (gfc_omp_is_optional_argument,
        gfc_omp_check_optional_argument): Handle type(c_ptr),value which uses a
        hidden argument for the is-present check.

        gcc/
        * omp-low.c (lower_omp_target): For use_device_ptr/use_derice_addr
        and Fortran's optional arguments, unconditionally add the is-present
        condition before the libgomp call.

        libgomp/
        * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Add
        'type(c_ptr), value' test case. Conditionally map the per-value
        passed arguments.

From-SVN: r279004
2019-12-05 16:18:39 +01:00
..
appendix-a re PR libgomp/91473 (Test case libgomp.fortran/appendix-a/a.28.5.f90 is invalid) 2019-08-17 11:57:25 +00:00
examples-4 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
affinity1.f90
affinity2.f90
aligned1.f03 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
alloc-comp-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
alloc-comp-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
alloc-comp-3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable2.f90 libgomp/testsuite - use unique numbers with Fortran's 'stop' 2019-11-04 11:01:22 +01:00
allocatable3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable8.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable9.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable10.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable11.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
allocatable12.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
associate1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
associate2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
associate3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
async_io_1.f90
async_io_2.f90
async_io_3.f90
async_io_4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
async_io_5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
async_io_6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
async_io_7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
async_io_8.f90
cancel-do-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
cancel-do-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
cancel-parallel-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
cancel-parallel-3.f90
cancel-sections-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
cancel-taskgroup-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
character1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
character2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
collapse1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
collapse2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
collapse3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
collapse4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
condinc1.f
condinc1.inc
condinc2.f
condinc3.f90
condinc4.f90
crayptr1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
crayptr2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
crayptr3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
declare-simd-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
declare-simd-2.f90
declare-simd-3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
declare-simd-4.f90
declare-target-1.f90
declare-target-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
depend-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
depend-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
depend-3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
display-affinity-1.f90
do1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
do2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
do_concurrent_5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
doacross1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
doacross2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
doacross3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
fortran.exp re PR testsuite/91884 (libgomp testsuite: (not) using a specific driver for C++, Fortran) 2019-10-09 10:37:44 +02:00
jacobi.f
lastprivate1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
lastprivate2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
lib1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
lib2.f
lib3.f
lib4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
lock-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
lock-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nested1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nestedfn1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nestedfn2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nestedfn3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nestedfn4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
nestedfn5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_atomic1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_atomic2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_atomic3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_atomic4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_atomic5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_cond1.f libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_cond2.f libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_cond3.F90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_cond4.F90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_hello.f
omp_orphan.f
omp_parse1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_parse2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_parse3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_parse4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
openmp_version-1.f libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
openmp_version-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
parloops-exit-first-loop-alt-2.f95 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
parloops-exit-first-loop-alt.f95 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pointer1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pointer2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr25162.f
pr25219.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr27395-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr27395-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr27416-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr27916-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr27916-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr28390.f libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr29629.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr32359.f90
pr32550.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr33880.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr34020.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr35130.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr42162.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr46753.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr48894.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr49792-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr49792-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr63938-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr63938-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr65597.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr66199-1.f90 libgomp - remove dg-run if dg-options O2 is used 2019-11-04 14:18:50 +01:00
pr66199-2.f90 libgomp - remove dg-run if dg-options O2 is used 2019-11-04 14:18:50 +01:00
pr66680.f90
pr71014.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr71734-1.f90
pr71734-2.f90
pr81304.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr81841.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr84418-1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr84418-2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
pr88463-1.f90 re PR fortran/88463 (Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source) 2018-12-12 23:49:35 +01:00
pr88463-2.f90 re PR fortran/88463 (Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source) 2018-12-12 23:49:35 +01:00
pr90779.f90 libgomp/testsuite – use 'stop' and 'dg-do run' 2019-10-30 11:33:58 +01:00
procptr1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
recursion1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reduction6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reference1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
reference2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
retval1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
retval2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
sharing1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
sharing2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
simd7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
stack.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
strassen.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
tabs1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
tabs2.f libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target8.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
target9.f90 Torture testing: 'libgomp.fortran/target9.f90' 2019-11-11 09:50:40 +01:00
target-allocatable-1-1.f90 [PR90743] Fortran 'allocatable' with OpenACC data/OpenMP 'target' 'map' clauses 2019-06-19 00:14:24 +02:00
target-allocatable-1-2.f90 [PR90743] Fortran 'allocatable' with OpenACC data/OpenMP 'target' 'map' clauses 2019-06-19 00:14:24 +02:00
target-print-1-nvptx.f90 Fix 'libgomp.fortran/target-print-1.f90', 'libgomp.oacc-fortran/print-1.f90' for offload target nvptx 2019-11-27 18:50:55 +01:00
target-print-1.f90 Fix 'libgomp.fortran/target-print-1.f90', 'libgomp.oacc-fortran/print-1.f90' for offload target nvptx 2019-11-27 18:50:55 +01:00
target-simd.f90 libgomp/testsuite – use 'stop' and 'dg-do run' 2019-10-30 11:33:58 +01:00
task1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
task2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
task3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
task4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
taskgroup1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
taskloop1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
taskloop2.f90 libgomp - remove dg-run if dg-options O2 is used 2019-11-04 14:18:50 +01:00
taskloop3.f90 libgomp - remove dg-run if dg-options O2 is used 2019-11-04 14:18:50 +01:00
taskloop4.f90 libgomp - remove dg-run if dg-options O2 is used 2019-11-04 14:18:50 +01:00
teams1.f90 re PR fortran/92756 (ICE in lower_omp, at omp-low.c:12988) 2019-12-04 09:47:13 +01:00
teams2.f90 re PR fortran/92756 (ICE in lower_omp, at omp-low.c:12988) 2019-12-04 09:47:13 +01:00
threadprivate1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
threadprivate2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
threadprivate3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
threadprivate4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr8.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr9.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr10.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr11.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr12.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr13.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr14.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
udr15.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
use_device_addr-1.f90 libgomp/testsuite - use unique numbers with Fortran's 'stop' 2019-11-04 11:01:22 +01:00
use_device_addr-2.f90 libgomp/testsuite - use unique numbers with Fortran's 'stop' 2019-11-04 11:01:22 +01:00
use_device_addr-3.f90 Torture testing: 'libgomp.fortran/use_device_addr-3.f90', 'libgomp.fortran/use_device_addr-4.f90', 'libgomp.fortran/use_device_ptr-1.f90' 2019-11-11 09:50:29 +01:00
use_device_addr-4.f90 Torture testing: 'libgomp.fortran/use_device_addr-3.f90', 'libgomp.fortran/use_device_addr-4.f90', 'libgomp.fortran/use_device_ptr-1.f90' 2019-11-11 09:50:29 +01:00
use_device_ptr-1.f90 Torture testing: 'libgomp.fortran/use_device_addr-3.f90', 'libgomp.fortran/use_device_addr-4.f90', 'libgomp.fortran/use_device_ptr-1.f90' 2019-11-11 09:50:29 +01:00
use_device_ptr-optional-1.f90 Fortran] Support absent optional args with use_device_{ptr,addr} 2019-11-11 10:19:29 +01:00
use_device_ptr-optional-2.f90 OpenMP] Fix use_device_… with absent optional arg 2019-12-05 16:18:39 +01:00
use_intrinsic_1.f90
vla1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla3.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla4.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla5.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla6.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla7.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
vla8.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
workshare1.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00
workshare2.f90 libgomp/testsuite – use 'stop' 2019-10-30 12:44:54 +01:00