Re: [Patch] Fortran: Fixes for OpenMP loop-iter privatization (PRs 95109 + 94690)

2020-09-09 Thread Tobias Burnus
On 9/9/20 8:54 AM, Jakub Jelinek wrote: On Tue, Sep 08, 2020 at 12:22:57PM +0200, Tobias Burnus wrote: gcc/testsuite/ChangeLog: PR fortran/95109 PR fortran/94690 * gfortran.dg/gomp/combined-if.f90: Update scan-tree-dump-times for 'omp simd.*if'. * gfortran.dg/gomp/open

Re: [Patch] Fortran: Fixes for OpenMP loop-iter privatization (PRs 95109 + 94690)

2020-09-08 Thread Jakub Jelinek via Gcc-patches
On Tue, Sep 08, 2020 at 12:22:57PM +0200, Tobias Burnus wrote: > gcc/fortran/ChangeLog: > > PR fortran/95109 > PR fortran/94690 > * resolve.c (gfc_resolve_code): Also call > gfc_resolve_omp_parallel_blocks for 'distribute parallel do (simd)'. > * openmp.c (gfc_resolve

[Patch] Fortran: Fixes for OpenMP loop-iter privatization (PRs 95109 + 94690)

2020-09-08 Thread Tobias Burnus
This patch fixes all known issues related to loop-iter privatization. This patch removes the code added to gfc_resolve_do_iterator in commit r11-349-gf884bef2105d748fd7869cd641cbb4f6b6bb. I added it to fix some issues in testsuite/libgomp.fortran/pr66199-*.f90 but it turned out that removing