diff options
author | Kwok Cheung Yeung <kcy@codesourcery.com> | 2020-06-25 04:40:16 -0700 |
---|---|---|
committer | Kwok Cheung Yeung <kcy@codesourcery.com> | 2020-06-25 06:06:12 -0700 |
commit | 1dfa89b0355520ca501054726f25de9733796f48 (patch) | |
tree | 47089ecdd09b8912077f847688deb360b81951d7 /gcc/d/d-lang.cc | |
parent | d2adb79eac663874593a28387db593fb4bb2995f (diff) | |
download | gcc-1dfa89b0355520ca501054726f25de9733796f48.zip gcc-1dfa89b0355520ca501054726f25de9733796f48.tar.gz gcc-1dfa89b0355520ca501054726f25de9733796f48.tar.bz2 |
fortran: Apply if clause to all sub-constructs in combined OpenMP constructs
The unmodified 'if' clause should be applied to all the sub-constructs that
accept an 'if' clause in a combined OpenMP construct, and not just to the
'parallel' sub-construct.
2020-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/fortran/
* trans-openmp.c (gfc_split_omp_clauses): Add if clause
to target and simd sub-constructs.
gcc/testsuite/
* gfortran.dg/gomp/combined-if.f90: New.
Reviewed-by: Jakub Jelinek <jakub@redhat.com>
Diffstat (limited to 'gcc/d/d-lang.cc')
0 files changed, 0 insertions, 0 deletions