https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101079
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Under discussions in OpenMP language committee, but the latest proposal is that this is invalid, you need to increment the linear variable by linear-step in the body of the construct. If that is voted into 5.2, we won't be changing GCC for this which always assumed that is the case. Not incrementing it in the body means that the testcase will behave significantly differently with -fno-openmp, and also result in worse generated code for many cases that do increment the linear variables.