gcc/libgomp/testsuite/libgomp.fortran
Thomas Schwinge 4bcb46b3ad driver: Forward '-lgfortran', '-lm' to offloading compilation
..., so that users don't manually need to specify
'-foffload-options=-lgfortran', '-foffload-options=-lm' in addition to
'-lgfortran', '-lm' (specified manually, or implicitly by the driver).

	gcc/
	* gcc.cc (driver_handle_option): Forward host '-lgfortran', '-lm'
	to offloading compilation.
	* config/gcn/mkoffload.cc (main): Adjust.
	* config/nvptx/mkoffload.cc (main): Likewise.
	* doc/invoke.texi (foffload-options): Update example.
	libgomp/
	* testsuite/libgomp.fortran/fortran.exp (lang_link_flags): Don't
	set.
	* testsuite/libgomp.oacc-fortran/fortran.exp (lang_link_flags):
	Likewise.
	* testsuite/libgomp.c/simd-math-1.c: Remove
	'-foffload-options=-lm'.
	* testsuite/libgomp.fortran/fortran-torture_execute_math.f90:
	Likewise.
	* testsuite/libgomp.oacc-fortran/fortran-torture_execute_math.f90:
	Likewise.
2023-06-14 11:41:45 +02:00
..
appendix-a
examples-4 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
affinity1.f90
affinity2.f90
aligned1.f03
alloc-1.F90
alloc-2.F90
alloc-3.F
alloc-4.f90
alloc-5.f90
alloc-6.f90
alloc-7.c
alloc-7.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
alloc-8.f90
alloc-9.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
alloc-10.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
alloc-11.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
alloc-12.f90
alloc-comp-1.f90
alloc-comp-2.f90
alloc-comp-3.f90
allocatable1.f90
allocatable2.f90
allocatable3.f90
allocatable4.f90
allocatable5.f90
allocatable6.f90
allocatable7.f90
allocatable8.f90
allocatable9.f90
allocatable10.f90
allocatable11.f90
allocatable12.f90
allocate-1.c
allocate-1.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
allocate-2.f90 Fortran/OpenMP: align/allocator modifiers to the allocate clause 2022-12-09 21:45:37 +01:00
allocate-3.f90 Fortran: Extend align-clause checks of OpenMP's allocate directive 2023-02-01 14:51:00 +01:00
allocate-4.f90 Fortran/OpenMP: Add parsing support for allocators/allocate directives 2023-05-26 20:41:02 +02:00
associate1.f90
associate2.f90
associate3.f90
associate4.f90
async_io_1.f90
async_io_2.f90
async_io_3.f90
async_io_4.f90
async_io_5.f90
async_io_6.f90
async_io_7.f90
async_io_8.f90
async_io_9.f90
atomic1.f90
atomic-19.f90
cancel-do-1.f90
cancel-do-2.f90
cancel-parallel-1.f90
cancel-parallel-3.f90
cancel-sections-1.f90
cancel-taskgroup-2.f90
character1.f90
character2.f90
class-firstprivate-1.f90
class-firstprivate-2.f90
class-firstprivate-3.f90
close_errors_1.f90
collapse1.f90
collapse2.f90
collapse3.f90
collapse4.f90
combined-directive-splitting-1.f90 OpenMP/Fortran: Combined directives with map/firstprivate of same symbol 2022-12-14 14:11:45 +00:00
condinc1.f
condinc1.inc
condinc2.f
condinc3.f90
condinc4.f90
crayptr1.f90
crayptr2.f90
crayptr3.f90
critical-hint-1.f90
critical-hint-2.f90
declare-simd-1.f90
declare-simd-2.f90
declare-simd-3.f90
declare-simd-4.f90
declare-target-1.f90
declare-target-2.f90
declare-target-3.f90
declare-variant-1.f90
defaultmap-8.f90
depend-1.f90
depend-2.f90
depend-3.f90
depend-4.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
depend-5.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
depend-6.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
depend-7.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
depend-inoutset-1.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
depend-iterator-2.f90
depobj-1.f90
display-affinity-1.f90
do1.f90
do2.f90
do_concurrent_5.f90
doacross1.f90
doacross2.f90
doacross3.f90
dummy-procs-1.f90
error-1.f90
fortran-torture_execute_math.f90 driver: Forward '-lgfortran', '-lm' to offloading compilation 2023-06-14 11:41:45 +02:00
fortran.exp driver: Forward '-lgfortran', '-lm' to offloading compilation 2023-06-14 11:41:45 +02:00
get-mapped-ptr-1.f90
get-mapped-ptr-2.f90
get-mapped-ptr-3.f90
get-mapped-ptr-4.f90
has_device_addr.f90 OpenMP/Fortran: Fix has_device_addr clause splitting [PR108558] 2023-01-27 11:33:46 +01:00
icv-3.f90
icv-4.f90
icv-5.f90 OpenMP: omp_get_max_teams, omp_set_num_teams, and omp_{gs}et_teams_thread_limit on offload devices 2022-12-06 06:03:50 -08:00
icv-6.f90 OpenMP: omp_get_max_teams, omp_set_num_teams, and omp_{gs}et_teams_thread_limit on offload devices 2022-12-06 06:03:50 -08:00
icv-8.f90
is_device_ptr-1.f90
is_device_ptr-2.f90 Fortran: Update use_device_ptr for OpenMP 5.1 [PR105318] 2022-09-30 13:37:18 +02:00
is_device_ptr-3.f90 OpenMP/Fortran: Fix handling of optional is_device_ptr + bind(C) [PR108546] 2023-03-01 13:53:09 +01:00
jacobi.f
lastprivate1.f90
lastprivate2.f90
lastprivate-conditional-10.f90
lib1.f90
lib2.f
lib3.f
lib4.f90
lock-1.f90
lock-2.f90
map-alloc-ptr-1.f90
map-alloc-ptr-2.f90
masked-1.f90
my-usleep.c
nested1.f90
nestedfn1.f90
nestedfn2.f90
nestedfn3.f90
nestedfn4.f90
nestedfn5.f90
non-rectangular-loop-1.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
non-rectangular-loop-1a.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
non-rectangular-loop-2.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
non-rectangular-loop-3.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
non-rectangular-loop-4.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
non-rectangular-loop-5.f90 OpenMP/Fortran: Partially fix non-rect loop nests [PR107424] 2023-02-09 15:51:13 +01:00
omp_atomic1.f90
omp_atomic2.f90
omp_atomic3.f90
omp_atomic4.f90
omp_atomic5.f90
omp_cond1.f
omp_cond2.f
omp_cond3.F90
omp_cond4.F90
omp_hello.f
omp_orphan.f
omp_parse1.f90
omp_parse2.f90
omp_parse3.f90
omp_parse4.f90
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
on_device_arch.c
openmp_version-1.f
openmp_version-2.f90
optional-bind-c.f90
optional-map.f90
order-reproducible-1.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
order-reproducible-2.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
parallel-master.f90
parloops-exit-first-loop-alt-2.f95
parloops-exit-first-loop-alt.f95
pointer1.f90
pointer2.f90
pr25162.f
pr25219.f90
pr27395-1.f90
pr27395-2.f90
pr27416-1.f90
pr27916-1.f90
pr27916-2.f90
pr28390.f
pr29629.f90
pr32359.f90
pr32550.f90
pr33880.f90
pr34020.f90
pr35130.f90
pr42162.f90
pr46753.f90
pr48894.f90
pr49792-1.f90
pr49792-2.f90
pr63938-1.f90
pr63938-2.f90
pr65597.f90
pr66199-1.f90
pr66199-2.f90
pr66199-3.f90
pr66199-4.f90
pr66199-5.f90
pr66199-6.f90
pr66199-7.f90
pr66199-8.f90
pr66199-9.f90
pr66680.f90
pr71014.f90
pr71734-1.f90
pr71734-2.f90
pr81304.f90
pr81841.f90
pr84418-1.f90
pr84418-2.f90
pr88463-1.f90
pr88463-2.f90
pr90030.f90
pr90779.f90
pr93553.f90
pr95654.f90
pr100981-2.f90
procptr1.f90
recursion1.f90
reduction1.f90
reduction2.f90
reduction3.f90
reduction4.f90
reduction5.f90
reduction6.f90
refcount-1.f90
reference1.f90
reference2.f90
requires-1-aux.f90
requires-1.f90
requires-unified-addr-1.f90 libgomp/testsuite: Add requires-unified-addr-1.{c,f90} [PR109837] 2023-06-13 11:27:47 +02:00
retval1.f90
retval2.f90
reverse-offload-1-aux.f90
reverse-offload-1.f90
reverse-offload-2.f90 libgomp: Handle OpenMP's reverse offloads 2022-12-10 13:42:08 +01:00
reverse-offload-3.f90 libgomp: Handle OpenMP's reverse offloads 2022-12-10 13:42:08 +01:00
reverse-offload-4.f90 libgomp: Handle OpenMP's reverse offloads 2022-12-10 13:42:08 +01:00
reverse-offload-5.f90 libgomp: Fix reverse-offload for GOMP_MAP_TO_PSET 2023-02-15 11:21:11 +01:00
reverse-offload-5a.f90 libgomp: Handle OpenMP's reverse offloads 2022-12-10 13:42:08 +01:00
reverse-offload-6.f90 Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation 2023-02-07 23:44:33 +01:00
scan-1.f90
scan-2.f90 'omp scan' struct block seq update for OpenMP 5.x 2023-04-25 16:29:14 +02:00
scope-1.f90
scope-2.f90
sharing1.f90
sharing2.f90
simd1.f90
simd2.f90
simd3.f90
simd4.f90
simd5.f90
simd6.f90
simd7.f90
stack.f90
strassen.f90
struct-elem-map-1.f90
tabs1.f90
tabs2.f
target1.f90
target2.f90
target3.f90
target4.f90
target5.f90
target6.f90
target7.f90
target8.f90
target9.f90
target10.f90 Remove support for Intel MIC offloading 2022-11-04 10:51:01 +01:00
target-11.f90 OpenMP/Fortran: 'target update' with DT components 2022-11-03 15:03:52 +01:00
target-12.f90
target-13.f90 OpenMP/Fortran: 'target update' with DT components 2022-11-03 15:03:52 +01:00
target-allocatable-1-1.f90
target-allocatable-1-2.f90
target-enter-data-1.f90
target-enter-data-2.F90
target-enter-data-3.f90 Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings 2023-05-17 12:28:14 +02:00
target-enter-data-4.f90 Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings 2023-05-17 12:28:14 +02:00
target-enter-data-5.f90 Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings 2023-05-17 12:28:14 +02:00
target-enter-data-6.f90 Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings 2023-05-17 12:28:14 +02:00
target-enter-data-7.f90 Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings 2023-05-17 12:28:14 +02:00
target-firstprivate-1.f90
target-firstprivate-2.f90
target-firstprivate-3.f90
target-has-device-addr-1.f90
target-has-device-addr-2.f90
target-has-device-addr-3.f90
target-has-device-addr-4.f90
target-in-reduction-1.f90
target-in-reduction-2.f90
target-is-accessible-1.f90
target-map-1.f90
target-memcpy-async-1.f90
target-memcpy-async-2.f90
target-memcpy-rect-async-1.f90
target-memcpy-rect-async-2.f90
target-nowait-array-section.f90 libgomp: Fix comment typo 2023-02-16 12:10:19 +01:00
target-present-1.f90 OpenMP: Cleanups related to the 'present' modifier 2023-06-12 18:15:28 +02:00
target-present-2.f90 OpenMP: Cleanups related to the 'present' modifier 2023-06-12 18:15:28 +02:00
target-present-3.f90 OpenMP: Cleanups related to the 'present' modifier 2023-06-12 18:15:28 +02:00
target-print-1-nvptx.f90
target-print-1.f90
target-simd.f90
target-var.f90
task1.f90
task2.f90
task3.f90
task4.f90
task-7.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-8.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-detach-1.f90
task-detach-2.f90
task-detach-3.f90
task-detach-4.f90
task-detach-5.f90
task-detach-6.f90 Add '-Wno-complain-wrong-lang', and use it in 'gcc/testsuite/lib/target-supports.exp:check_compile' and elsewhere 2023-02-22 09:19:51 +01:00
task-detach-7.f90
task-detach-8.f90
task-detach-9.f90
task-detach-10.f90
task-detach-11.f90
task-detach-12.f90
task-in-explicit-1.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-in-explicit-2.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-in-explicit-3.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-reduction-16.f90
task-reduction-17.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
task-reduction-18.f90 libgomp: Add Fortran testcases for omp_in_explicit_task 2022-10-13 20:38:27 +02:00
taskgroup1.f90
taskloop1.f90
taskloop2.f90
taskloop3.f90
taskloop4.f90
taskloop-4-a.f90
taskloop-4.f90
taskloop-5-a.f90
taskloop-5.f90
taskwait-depend-nowait-1.f90
teams1.f90
teams2.f90
teams-1.f90
thread-limit-1.f90
threadprivate1.f90
threadprivate2.f90
threadprivate3.f90
threadprivate4.f90
udr1.f90
udr2.f90
udr3.f90
udr4.f90
udr5.f90
udr6.f90
udr7.f90
udr8.f90
udr9.f90
udr10.f90
udr11.f90
udr12.f90
udr13.f90
udr14.f90
udr15.f90
use_device_addr-1.f90
use_device_addr-2.f90
use_device_addr-3.f90
use_device_addr-4.f90
use_device_addr-5.f90
use_device_ptr-1.f90
use_device_ptr-3.f90
use_device_ptr-4.f90
use_device_ptr-optional-1.f90
use_device_ptr-optional-2.f90
use_device_ptr-optional-3.f90
use_device_ptr-optional-4.f90 OpenMP/Fortran: Fix handling of optional is_device_ptr + bind(C) [PR108546] 2023-03-01 13:53:09 +01:00
use_intrinsic_1.f90
vla1.f90
vla2.f90
vla3.f90
vla4.f90
vla5.f90
vla6.f90
vla7.f90
vla8.f90
workshare1.f90
workshare2.f90