<div dir="ltr">Hi,<div>I have the following code failure when compiling with gcc.</div><div><br></div><div>It seems that under kmp_gsupport.cpp, the long*p_lb is not properly read.</div><div><br></div><div>Could anyone help with this?</div><div><br></div><div>Thanks!</div><div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(106,135,89)"><br></span><span style="color:rgb(204,120,50);font-weight:bold">int </span><span style="color:rgb(255,198,109)">main</span>(){<br><span style="color:rgb(187,181,41)">#pragma </span>omp parallel <span style="color:rgb(204,120,50);font-weight:bold">for </span>schedule(dynamic) ordered<br>    <span style="color:rgb(204,120,50);font-weight:bold">for </span>(<span style="color:rgb(204,120,50);font-weight:bold">int </span>i = <span style="color:rgb(104,151,187)">0</span><span style="color:rgb(204,120,50)">; </span>i < <span style="color:rgb(104,151,187)">10</span><span style="color:rgb(204,120,50)">; </span>i++)<br>    {<br><span style="color:rgb(187,181,41)">#pragma </span>omp ordered<br>        {<br>            printf(<span style="color:rgb(106,135,89)">"</span><span style="color:rgb(204,120,50)">%d\n</span><span style="color:rgb(106,135,89)"> "</span><span style="color:rgb(204,120,50)">, </span>i)<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)">        </span>}<br>    }<br>}</pre></div></div>