[Bug fortran/101079] [OPENMP] The value of list-item in linear clause in loop construct is not calculated on each iteration

xiao.liu@compiler-dev.com gcc-bugzilla@gcc.gnu.org
Fri Jun 25 02:23:17 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101079

--- Comment #4 from xiao.liu@compiler-dev.com <xiao.liu@compiler-dev.com> ---
(In reply to Jakub Jelinek from comment #1)
> 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.

Hi Jakub, can you tell me where they discuss the proposal? I am very interested
in the new features introduced from version 4.5, especially the implementation
in the compiler.


More information about the Gcc-bugs mailing list