diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-06-19 09:52:10 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-06-19 09:57:34 +0200 |
commit | 01fe115ba7eafebcf97bbac9e157038a003d0c85 (patch) | |
tree | 785047b6aafe4d4eb9e674bcde1502e9ece5f937 /gcc/tree-vect-loop-manip.cc | |
parent | 85c39a3cf157916ac494e8e90ad1df2cb6bf5cf2 (diff) | |
download | gcc-01fe115ba7eafebcf97bbac9e157038a003d0c85.zip gcc-01fe115ba7eafebcf97bbac9e157038a003d0c85.tar.gz gcc-01fe115ba7eafebcf97bbac9e157038a003d0c85.tar.bz2 |
libgomp.c/target-51.c: Accept more error-msg variants in dg-output
Depending on the details, the testcase can fail with different but
related messages; all of the following all could be observed for this
testcase:
libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but device cannot be used for offloading
libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but device not found
libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but only the host device is available
Before, the last two were tested for with 'target offload_device' and
'! offload_device', respectively. Now, all three are accepted by matching
'.*' already after 'but' and without distinguishing whether the effective
target is an offload_device or not.
(For completeness, there is a fourth error that follows this pattern:
'OMP_TARGET_OFFLOAD is set to MANDATORY, but device is finalized'.)
libgomp/
* testsuite/libgomp.c/target-51.c: Accept more error msg variants
as expected dg-output.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions