Re: [Patch][Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)

2020-05-12 Thread Jakub Jelinek via Gcc-patches
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

*ping* | Re: [Patch][Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)

2020-05-05 Thread Tobias Burnus
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

[Patch][Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)

2020-04-23 Thread Tobias Burnus
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