public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-13] libgomp.fortran/map-subarray-5.f90: Fix for shared-mem device/host
@ 2023-07-19 12:53 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2023-07-19 12:53 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a9d17fbd1e918019b77a6d9616704db85b5c3e8c

commit a9d17fbd1e918019b77a6d9616704db85b5c3e8c
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Jul 19 14:52:00 2023 +0200

    libgomp.fortran/map-subarray-5.f90: Fix for shared-mem device/host
    
    libgomp/
    
            * testsuite/libgomp.fortran/map-subarray-5.f90: Only expect
            libgomp dg-output for offload_device_nonshared_as.

Diff:
---
 libgomp/ChangeLog.omp                                | 5 +++++
 libgomp/testsuite/libgomp.fortran/map-subarray-5.f90 | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 7cc64943446..cbc12c0fab0 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2023-07-19  Tobias Burnus  <tobias@codesourcery.com>
+
+	* testsuite/libgomp.fortran/map-subarray-5.f90: Only expect
+	libgomp dg-output for offload_device_nonshared_as.
+
 2023-07-19  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backported from master:
diff --git a/libgomp/testsuite/libgomp.fortran/map-subarray-5.f90 b/libgomp/testsuite/libgomp.fortran/map-subarray-5.f90
index e7cdf11e610..59ad01ab76b 100644
--- a/libgomp/testsuite/libgomp.fortran/map-subarray-5.f90
+++ b/libgomp/testsuite/libgomp.fortran/map-subarray-5.f90
@@ -49,6 +49,6 @@ end do
 
 end
 
-! { dg-output "(\n|\r|\r\n)" }
-! { dg-output "libgomp: Mapped array elements must be the same .*(\n|\r|\r\n)+" }
+! { dg-output "(\n|\r|\r\n)" { target offload_device_nonshared_as } }
+! { dg-output "libgomp: Mapped array elements must be the same .*(\n|\r|\r\n)+" { target offload_device_nonshared_as } }
 ! { dg-shouldfail "" { offload_device_nonshared_as } }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-19 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 12:53 [gcc/devel/omp/gcc-13] libgomp.fortran/map-subarray-5.f90: Fix for shared-mem device/host Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).