Re: [PATCH, OpenMP, Fortran] PR103643: ICE in gimplify_omp_affinity

2022-01-03 Thread Jakub Jelinek via Gcc-patches
On Mon, Jan 03, 2022 at 10:51:49PM +0800, Chung-Lin Tang wrote: > After the PR90030 patch, which removes the universal casting of all Fortran > array pointers to 'c_char*', > a Fortran descriptor based array passed into an affinity() clause now looks > like: > > - #pragma omp task

[PATCH, OpenMP, Fortran] PR103643: ICE in gimplify_omp_affinity

2022-01-03 Thread Chung-Lin Tang
After the PR90030 patch, which removes the universal casting of all Fortran array pointers to 'c_char*', a Fortran descriptor based array passed into an affinity() clause now looks like: - #pragma omp task private(i) shared(b) affinity(*(c_char *) a.data) + #pragma omp task private(i)