In 'libgomp.fortran/map-subarray-5.f90', restrict 'dg-output's to 'target offload_device_nonshared_as'

..., as in 'libgomp.c-c++-common/map-arrayofstruct-{2,3}.c'.

Minor fix-up for commit f5745dc142
"OpenMP/OpenACC: Unordered/non-constant component offset runtime diagnostic".

	libgomp/
	* testsuite/libgomp.fortran/map-subarray-5.f90: Restrict
	'dg-output's to 'target offload_device_nonshared_as'.
This commit is contained in:
Thomas Schwinge
2023-12-15 13:05:24 +01:00
parent a98a393286
commit bc7546e32c

View File

@@ -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 } }