Re: [PATCH] Fix ICE with inlining and #pragma omp simd (PR fortran/77665)

2016-09-22 Thread Richard Biener
On Wed, 21 Sep 2016, Alexander Monakov wrote: > On Wed, 21 Sep 2016, Jakub Jelinek wrote: > > The simduid pass uses the cfun->has_simduid_loops flag to determine if it > > needs to clean up any left-over GOMP_SIMD_* internal functions. > > During inlining, we set the flag if we inline some loop wi

Re: [PATCH] Fix ICE with inlining and #pragma omp simd (PR fortran/77665)

2016-09-21 Thread Alexander Monakov
On Wed, 21 Sep 2016, Jakub Jelinek wrote: > The simduid pass uses the cfun->has_simduid_loops flag to determine if it > needs to clean up any left-over GOMP_SIMD_* internal functions. > During inlining, we set the flag if we inline some loop with simduid, or if > we find GOMP_SIMD_ORDERED_* interna

[PATCH] Fix ICE with inlining and #pragma omp simd (PR fortran/77665)

2016-09-21 Thread Jakub Jelinek
Hi! The simduid pass uses the cfun->has_simduid_loops flag to determine if it needs to clean up any left-over GOMP_SIMD_* internal functions. During inlining, we set the flag if we inline some loop with simduid, or if we find GOMP_SIMD_ORDERED_* internal call, but the testcase shows that we need t