On Thu, Apr 23, 2020 at 08:52:39AM +0200, Tobias Burnus wrote:
> [Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)
>
> PR fortran/94690
> * openmp.c (OMP_DISTRIBUTE_CLAUSES): Add OMP_CLAUSE_LASTPRIVATE.
> * trans-openmp.c (gfc_trans_omp_do): Don't add
OK for mainline and GCC 10?
The LASTPRIVATE part is trivial, but as C→Fortran porting
the test case revealed an SIMD issue, it is a bit longer.
Tobias
On 4/23/20 8:52 AM, Tobias Burnus wrote:
As found via sollve_vv: the Fortran OpenMP parser missed
'lastprivate' as permitted clause in
As found via sollve_vv: the Fortran OpenMP parser missed
'lastprivate' as permitted clause in 'distribute'.
Additionally, when copying + fortanifying the
libgomp.c*/pr66199-[3-9].c test case, I found an
issue with loops.
Standard gfortran DO loops use "while()" – probably
a legacy because very