[Fortran] Remove OpenACC 'loop' inside 'parallel' special-case code
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 27 Oct 2020 09:43:27 +0000 (10:43 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 6 Nov 2020 13:01:35 +0000 (14:01 +0100)
commit4c27f900950ed0ecb2897a8931c5cc348b1980be
tree761ddfdcdccd901aff119dcafbcd0d9b3a18d18b
parent52b74462176e4741ce1248c055e6bb1cb902c025
[Fortran] Remove OpenACC 'loop' inside 'parallel' special-case code

Instead, use the generic middle-end code, like already used for Fortran OpenACC
'loop' inside other compute constructs, orphaned 'loop' constructs, and C, C++
generally.

gcc/fortran/
* openmp.c (oacc_is_parallel, resolve_oacc_params_in_parallel):
Remove.
(resolve_oacc_loop_blocks): Don't call the former.
gcc/testsuite/
* gfortran.dg/goacc/loop-2-parallel-3.f95: Adjust.
gcc/fortran/openmp.c
gcc/testsuite/gfortran.dg/goacc/loop-2-parallel-3.f95