[PATCH] libgomp, fortran: Apply if clause to all sub-constructs in combined OpenMP constructs

Jakub Jelinek jakub@redhat.com
Fri Jun 26 18:00:50 GMT 2020


On Fri, Jun 26, 2020 at 06:55:30PM +0100, Kwok Cheung Yeung wrote:
> Okay for master/OG10?

Ok for master, not sure if I have anything to say for OG10.
With a nit.

> commit 04bdcaa20827d814c323847630c59ee843c51408
> Author: Kwok Cheung Yeung <kcy@codesourcery.com>
> Date:   Fri Jun 26 10:35:36 2020 -0700
> 
>     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_'.
>     
>     2020-06-26  Kwok Cheung Yeung  <kcy@codesourcery.com>
>     
>     	gcc/testsuite/
>     	* testsuite/gfortran.dg/gomp/combined-if.f90: Adjust expected number
>     	of matches depending on whether nvptx offloading is supported.
>     	* testsuite/lib/target-supports.exp
>     	(check_effective_target_offload_nvptx): New.

The testsuite/ prefix shouldn't be there, guess you wouldn't be able
to commit it that way.

	Jakub



More information about the Fortran mailing list