diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2025-03-17 10:12:44 +0100 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2025-03-17 10:12:44 +0100 |
commit | 2d5c1e5149809f978ea2c07517de13fdbb925de6 (patch) | |
tree | 9b5c3d3df6e55d1486968b673c1924bd3b0b7113 | |
parent | b58a0af4e2e28b395a3cb4b7283f16f05c0cf3c8 (diff) | |
download | gcc-2d5c1e5149809f978ea2c07517de13fdbb925de6.zip gcc-2d5c1e5149809f978ea2c07517de13fdbb925de6.tar.gz gcc-2d5c1e5149809f978ea2c07517de13fdbb925de6.tar.bz2 |
Move gfortran.dg/gomp/declare-variant-mod-1*.f90 to libgomp.fortran/ [PR115271]
The test is a supposed to be a compile-only test but as dg-additional-sources
does not work with dg-compile (due to compiling with '-o'), dg-link had to
be used; as the code actually compiles (no diagnostic error), the linker
is actually invoked, which fails unless the system compiler by chance
provides the required files. Solution: move the test to libgomp.
PR fortran/115271
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/declare-variant-mod-1-use.f90: Move to
libgomp/testsuite/libgomp.fortran/.
* gfortran.dg/gomp/declare-variant-mod-1.f90: Likewise.
libgomp/ChangeLog:
* testsuite/libgomp.fortran/declare-variant-mod-1-use.f90: Moved
from gcc/testsuite/gfortran.dg/gomp/.
* testsuite/libgomp.fortran/declare-variant-mod-1.f90: Likewise.
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/declare-variant-mod-1-use.f90 (renamed from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1-use.f90) | 0 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/declare-variant-mod-1.f90 (renamed from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1.f90) | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1-use.f90 b/libgomp/testsuite/libgomp.fortran/declare-variant-mod-1-use.f90 index 759f8fc..759f8fc 100644 --- a/gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1-use.f90 +++ b/libgomp/testsuite/libgomp.fortran/declare-variant-mod-1-use.f90 diff --git a/gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1.f90 b/libgomp/testsuite/libgomp.fortran/declare-variant-mod-1.f90 index b6ed2c7..b6ed2c7 100644 --- a/gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1.f90 +++ b/libgomp/testsuite/libgomp.fortran/declare-variant-mod-1.f90 |