On Thu, Feb 08, 2024 at 10:54:07AM +0000, Tamar Christina wrote:
> > Please either drop lastprivate(k) clause or use linear(k:1)
> > The iteration var of simd loop without collapse or with
> > collapse(1) is implicitly linear with the step, and even linear
> > means the value from the last iteration can be used after the
> > simd construct. Overriding the data sharing to something different
> > has been only added recently to OpenMP and isn't really needed here.
> >
>
> Sorry I know very little about fortran, is this ok?
>
> Regtested on aarch64-none-linux-gnu and no issues.
>
> Ok for master?
>
> Thanks,
> Tamar
>
> gcc/testsuite/ChangeLog:
>
> PR tree-optimization/113808
> * gfortran.dg/vect/vect-early-break_1-PR113808.f90: Moved to...
> * gfortran.dg/vect/vect-early-break_1-pr113808.f90: ...here.
Yes, thanks.
Jakub