diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-01-07 17:40:14 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-06-18 00:14:46 +0200 |
commit | 5864930754f63e2dcef9606f2514ae20e80f436e (patch) | |
tree | 397eee7581461dd2aee48c9b5de2cdcd4f99561f /libgomp | |
parent | 5e2eebc80d6eeca24745c27a925afdb64292ed22 (diff) | |
download | gcc-5864930754f63e2dcef9606f2514ae20e80f436e.zip gcc-5864930754f63e2dcef9606f2514ae20e80f436e.tar.gz gcc-5864930754f63e2dcef9606f2514ae20e80f436e.tar.bz2 |
Add 'dg-do run' to 'libgomp.fortran/use_device_ptr-optional-3.f90' [PR94848]
Fix-up for r279858/commit f760c0c77fe350616da9dbeaea16442b0acfb09c "Fortran]
OpenMP/OpenACC – fix more issues with OPTIONAL".
With offloading enabled, we then saw:
PASS: libgomp.fortran/use_device_ptr-optional-3.f90 -O0 (test for excess errors)
PASS: libgomp.fortran/use_device_ptr-optional-3.f90 -O0 execution test
PASS: libgomp.fortran/use_device_ptr-optional-3.f90 -O1 (test for excess errors)
PASS: libgomp.fortran/use_device_ptr-optional-3.f90 -O1 execution test
FAIL: libgomp.fortran/use_device_ptr-optional-3.f90 -O2 (test for excess errors)
UNRESOLVED: libgomp.fortran/use_device_ptr-optional-3.f90 -O2 compilation failed to produce executable
FAIL: libgomp.fortran/use_device_ptr-optional-3.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors)
UNRESOLVED: libgomp.fortran/use_device_ptr-optional-3.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions compilation failed to produce executable
FAIL: libgomp.fortran/use_device_ptr-optional-3.f90 -O3 -g (test for excess errors)
UNRESOLVED: libgomp.fortran/use_device_ptr-optional-3.f90 -O3 -g compilation failed to produce executable
FAIL: libgomp.fortran/use_device_ptr-optional-3.f90 -Os (test for excess errors)
UNRESOLVED: libgomp.fortran/use_device_ptr-optional-3.f90 -Os compilation failed to produce executable
... due to:
/tmp/cciVc43I.o:(.gnu.offload_vars+0x10): undefined reference to `A.12.4064'
[...]
..., but after the recent PR94848, PR95551 changes, that problem is now gone.
libgomp/
PR lto/94848
* testsuite/libgomp.fortran/use_device_ptr-optional-3.f90: Add
'dg-do run'.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-3.f90 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-3.f90 b/libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-3.f90 index f2e1a60..b06a884 100644 --- a/libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-3.f90 +++ b/libgomp/testsuite/libgomp.fortran/use_device_ptr-optional-3.f90 @@ -1,3 +1,4 @@ +! { dg-do run } ! Check whether absent optional arguments are properly ! handled with use_device_{addr,ptr}. program main |