aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-05-10 14:43:21 +0200
committerThomas Schwinge <thomas@codesourcery.com>2023-05-15 12:11:17 +0200
commit30e42bb66d39f542cb76e40ad367a7ae7f376dc7 (patch)
tree1528c99bba0019a1384dfe205b5dc05bb16bcdd7 /libgomp/testsuite/libgomp.fortran
parent9be9be828dc9020735bc7eacddd1ceae1aeedb1b (diff)
downloadgcc-30e42bb66d39f542cb76e40ad367a7ae7f376dc7.zip
gcc-30e42bb66d39f542cb76e40ad367a7ae7f376dc7.tar.gz
gcc-30e42bb66d39f542cb76e40ad367a7ae7f376dc7.tar.bz2
libgomp testsuite: Have each '*.exp' file specify the compiler to use [PR91884]
..., which is still 'GCC_UNDER_TEST' for all of them; no change in behavior. PR testsuite/91884 libgomp/ * testsuite/lib/libgomp.exp (libgomp_target_compile): Don't specify compiler. * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Specify compiler. * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.oacc-c++/c++.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.oacc-c/c.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.oacc-fortran/fortran.exp (ALWAYS_CFLAGS): Likewise.
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran')
-rw-r--r--libgomp/testsuite/libgomp.fortran/fortran.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/fortran.exp b/libgomp/testsuite/libgomp.fortran/fortran.exp
index 9295bba..9aeebd3 100644
--- a/libgomp/testsuite/libgomp.fortran/fortran.exp
+++ b/libgomp/testsuite/libgomp.fortran/fortran.exp
@@ -29,6 +29,7 @@ if { $blddir != "" } {
set lang_include_flags "-fintrinsic-modules-path=${blddir}"
}
set lang_link_flags "-lgfortran -foffload=-lgfortran"
+lappend ALWAYS_CFLAGS "compiler=$GCC_UNDER_TEST"
# Initialize dg.
dg-init