Re: [Patch] OpenMP: Fix var replacement with 'simd' and linear-step vars [PR106548]

2022-08-17 Thread Jakub Jelinek via Gcc-patches
On Tue, Aug 16, 2022 at 05:28:40PM +0200, Tobias Burnus wrote: > The testcase is just a copy of linear-1 with 'omp ... for' replaced by 'omp > ... for simd', > matching what the PR report referred to. > > The problem occurs for 'omp ... for simd linear( i : step)' when 'step' is a > variable > w

[Patch] OpenMP: Fix var replacement with 'simd' and linear-step vars [PR106548]

2022-08-16 Thread Tobias Burnus
The testcase is just a copy of linear-1 with 'omp ... for' replaced by 'omp ... for simd', matching what the PR report referred to. The problem occurs for 'omp ... for simd linear( i : step)' when 'step' is a variable when a omp_fn... is generated - as in this case, the original variable is use