[gcc/devel/omp/gcc-14] Move gfortran.dg/gomp/declare-variant-mod-1*.f90 to libgomp.fortran/ [PR115271]
Tobias Burnus
burnus@gcc.gnu.org
Tue Mar 18 18:38:10 GMT 2025
https://gcc.gnu.org/g:50c8e357a1ed6f97d227ffdb7d9498c38a549bc8
commit 50c8e357a1ed6f97d227ffdb7d9498c38a549bc8
Author: Tobias Burnus <tburnus@baylibre.com>
Date: Mon Mar 17 10:12:44 2025 +0100
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.
(cherry picked from commit 2d5c1e5149809f978ea2c07517de13fdbb925de6)
Diff:
---
gcc/testsuite/ChangeLog.omp | 10 ++++++++++
libgomp/ChangeLog.omp | 10 ++++++++++
.../testsuite/libgomp.fortran}/declare-variant-mod-1-use.f90 | 0
.../testsuite/libgomp.fortran}/declare-variant-mod-1.f90 | 0
4 files changed, 20 insertions(+)
diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index fae6e733bf7a..6ca93eadb09a 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,13 @@
+2025-03-18 Tobias Burnus <tburnus@baylibre.com>
+
+ Backported from master:
+ 2025-03-17 Tobias Burnus <tburnus@baylibre.com>
+
+ PR fortran/115271
+ * gfortran.dg/gomp/declare-variant-mod-1-use.f90: Move to
+ libgomp/testsuite/libgomp.fortran/.
+ * gfortran.dg/gomp/declare-variant-mod-1.f90: Likewise.
+
2025-03-18 Tobias Burnus <tburnus@baylibre.com>
Backported from master:
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 2b4d34806dee..894a9f54869d 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,13 @@
+2025-03-18 Tobias Burnus <tburnus@baylibre.com>
+
+ Backported from master:
+ 2025-03-17 Tobias Burnus <tburnus@baylibre.com>
+
+ PR fortran/115271
+ * 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.
+
2025-01-30 Tobias Burnus <tburnus@baylibre.com>
Backported from master:
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
similarity index 100%
rename from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1-use.f90
rename to 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
similarity index 100%
rename from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1.f90
rename to libgomp/testsuite/libgomp.fortran/declare-variant-mod-1.f90
More information about the Gcc-cvs
mailing list