Re: [Patch] Fortran/OpenMP: Fix detecting not perfectly nested loops

2020-08-04 Thread Jakub Jelinek via Gcc-patches
On Tue, Aug 04, 2020 at 05:54:18PM +0200, Tobias Burnus wrote: > I am not sure whether the following code is supposed > to work but the "x = 5" is never converted into > tree-code in gfc_trans_omp_do – hence, it makes sense > to error out. (I have the feeling that this needs to > be revisited for O

[Patch] Fortran/OpenMP: Fix detecting not perfectly nested loops

2020-08-04 Thread Tobias Burnus
I am not sure whether the following code is supposed to work but the "x = 5" is never converted into tree-code in gfc_trans_omp_do – hence, it makes sense to error out. (I have the feeling that this needs to be revisited for OpenMP 5.x.) (The equivalent C/C++ code is rejected, see PR.) !$omp