]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix failure in gfortran.dg/gomp/combined-if.f90 test
authorKwok Cheung Yeung <kcy@codesourcery.com>
Fri, 26 Jun 2020 17:35:36 +0000 (10:35 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Fri, 26 Jun 2020 21:23:05 +0000 (14:23 -0700)
commitca79a89b9b90bd76cd026898bfa2b8aaf8395e6e
treee0a08b452dc6e8b2683f95a0f44c7a8b21d64dbd
parente807c48c7ae4c258919cf260be6a1d69e3d28ce1
Fix failure in gfortran.dg/gomp/combined-if.f90 test

Enabling nvptx offloading results in extra '#pragma omp simd' statements
in the tree dump with an extra '_simt_'.

This is a backport from master
(commit 0fce12c0920c12492c878c0ca5f639f93b93f183).

2020-06-26  Kwok Cheung Yeung  <kcy@codesourcery.com>

gcc/testsuite/
* gfortran.dg/gomp/combined-if.f90: Adjust expected number
of matches depending on whether nvptx offloading is supported.
* lib/target-supports.exp
(check_effective_target_offload_nvptx): New.
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/gomp/combined-if.f90
gcc/testsuite/lib/target-supports.exp