Re: [Patch] Fortran: cleanup OpenMP's OMP_LIST_* handling

2020-11-18 Thread Jakub Jelinek via Gcc-patches
On Mon, Nov 16, 2020 at 03:08:36PM +0100, Tobias Burnus wrote: > as discussed the other day (I think via IRC or in a patch review), > omp_list_clauses > did grow quite a bit: it has 26 entries and I am about to add two > more. > > This variable is used as: > typedef struct gfc_omp_clauses > {

[Patch] Fortran: cleanup OpenMP's OMP_LIST_* handling

2020-11-16 Thread Tobias Burnus
Hi all, as discussed the other day (I think via IRC or in a patch review), omp_list_clauses did grow quite a bit: it has 26 entries and I am about to add two more. This variable is used as: typedef struct gfc_omp_clauses { ... gfc_omp_namelist *lists[OMP_LIST_NUM]; with sizeof(gfc_omp