]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Move gfortran.dg/gomp/declare-variant-mod-1*.f90 to libgomp.fortran/ [PR115271]
authorTobias Burnus <tburnus@baylibre.com>
Mon, 17 Mar 2025 09:12:44 +0000 (10:12 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Tue, 18 Mar 2025 18:36:41 +0000 (19:36 +0100)
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)

gcc/testsuite/ChangeLog.omp
libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.fortran/declare-variant-mod-1-use.f90 [moved from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1-use.f90 with 100% similarity]
libgomp/testsuite/libgomp.fortran/declare-variant-mod-1.f90 [moved from gcc/testsuite/gfortran.dg/gomp/declare-variant-mod-1.f90 with 100% similarity]

index fae6e733bf7ab7b72743cce54cd9287d3806438a..6ca93eadb09ac351ba39a881f0598d063d23382c 100644 (file)
@@ -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:
index 2b4d34806dee543fa565047f0e8c4da7f4a88570..894a9f54869dd459f4bed16864712c7008ec5d8a 100644 (file)
@@ -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: