aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-06-07 13:22:13 +0200
committerTobias Burnus <tobias@codesourcery.com>2023-06-07 13:23:30 +0200
commitdd958667821e38b7d6b8efe448044901b4762b3a (patch)
treeb7f44b6849a725e003d7dc95aa95a601dd90352e /libgcc
parent5faaabef3819434d13fcbf749bd07bfc98ca7c3c (diff)
downloadgcc-dd958667821e38b7d6b8efe448044901b4762b3a.zip
gcc-dd958667821e38b7d6b8efe448044901b4762b3a.tar.gz
gcc-dd958667821e38b7d6b8efe448044901b4762b3a.tar.bz2
testsuite/libgomp.*/target-present-*.{c,f90}: Improve and fix
One of the testcases lacked variables in a map clause such that the fail occurred too early. Additionally, it would have failed for all those non-host devices where 'present' is always true, i.e. non-host devices which can access all of the host memory (shared-memory devices). [There are currently none.] The commit now runs the code on all devices, which should succeed for host fallback and for shared-memory devices, finding potenial issues that way. Additionally, a checkpoint (required stdout output) is used to ensure that the execution won't fail (with the same error) before reaching the expected fail location. 2023-06-07 Thomas Schwinge <thomas@codesourcery.com> Tobias Burnus <tobias@codesourcery.com> libgomp/ * testsuite/libgomp.c-c++-common/target-present-1.c: Run code also for non-offload_device targets; check that it runs successfully for those and for all until a checkpoint for all * testsuite/libgomp.c-c++-common/target-present-2.c: Likewise. * testsuite/libgomp.c-c++-common/target-present-3.c: Likewise. * testsuite/libgomp.fortran/target-present-1.f90: Likewise. * testsuite/libgomp.fortran/target-present-3.f90: Likewise. * testsuite/libgomp.fortran/target-present-2.f90: Likewise; add missing vars to map clause.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions