diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-07-27 18:14:11 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-07-27 18:14:11 +0200 |
commit | 081e25d3cfd86c4094999ded0bbe99b91762013c (patch) | |
tree | b8eed8f37ebe74248fd983ac7cda32fbc7e4cb02 /gcc/expr.cc | |
parent | 50bc490c090cc95175e6068ed7438788d7fd7040 (diff) | |
download | gcc-081e25d3cfd86c4094999ded0bbe99b91762013c.zip gcc-081e25d3cfd86c4094999ded0bbe99b91762013c.tar.gz gcc-081e25d3cfd86c4094999ded0bbe99b91762013c.tar.bz2 |
OpenMP/Fortran: Extend reject code between target + teams [PR71065, PR110725]
The previous version failed to diagnose when the 'teams' was nested
more deeply inside the target region, e.g. inside a DO or some
block or structured block.
PR fortran/110725
PR middle-end/71065
gcc/fortran/ChangeLog:
* openmp.cc (resolve_omp_target): Minor cleanup.
* parse.cc (decode_omp_directive): Find TARGET statement
also higher in the stack.
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/teams-6.f90: Extend.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions