Re: [Patch, committed] Fortran: Fix OpenMP's 'if(simd:' etc. conditions

2020-08-20 Thread Jakub Jelinek via Gcc-patches
On Thu, Aug 20, 2020 at 01:36:01PM +0200, Tobias Burnus wrote: > gcc/fortran/ChangeLog: > > * openmp.c (gfc_match_omp_clauses): Re-order 'if' clause pasing > to avoid creating spurious symbols. > > libgomp/ChangeLog: > > *

[Patch, committed] Fortran: Fix OpenMP's 'if(simd:' etc. conditions

2020-08-20 Thread Tobias Burnus
This patch adds two 'simdlen' testcases by converting the respective C testcases. When doing so, it turned out that 'if (simd: x)' generated the symbol 'simd' due to: gfc_match ("if ( ") == MATCH_YES ... gfc_match ("%e )", >if_expr) The latter matches "%e", which creates the symbol and