Re: [Patch] Fortran/OpenMP: Fix clause splitting for target/parallel/teams [PR99928]

2021-06-07 Thread Jakub Jelinek via Fortran
On Mon, Jun 07, 2021 at 03:21:10PM +0200, Tobias Burnus wrote: > +static void > +gfc_add_clause_implicitly (gfc_omp_clauses *clauses_out, > +gfc_omp_clauses *clauses_in, > +bool is_target, bool is_parallel_do) > +{ > + int clauselist_to_add = is_targ

[Patch] Fortran/OpenMP: Fix clause splitting for target/parallel/teams [PR99928]

2021-06-07 Thread Tobias Burnus
This removes the remaining xfails in gfortran.dg/gomp/pr99928-*.f90 and should in theory fix all splitting issues. I see some differences for 'parallel do simd' with regards to attaching lastprivate to 'for' vs. 'parallel' There are probably more. (I hope none of them is relevant.) There are also