[Openmp-dev] dynamic ordered for loop failure when compiling with gcc

Tianyi Zhang via Openmp-dev openmp-dev at lists.llvm.org
Fri Oct 12 14:16:39 PDT 2018

I have the following code failure when compiling with gcc.

It seems that under kmp_gsupport.cpp, the long*p_lb is not properly read.

Could anyone help with this?


int main(){
#pragma omp parallel for schedule(dynamic) ordered
    for (int i = 0; i < 10; i++)
#pragma omp ordered
            printf("%d\n ", i);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20181012/b6097548/attachment.html>

More information about the Openmp-dev mailing list