https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014
--- Comment #6 from Keith Lindsay <klindsay at ucar dot edu> --- Harald, The problem does go away if I add a PRIVATE(i) clause to the OMP directive. However, my understanding of OpenMP in fortran is that all loop iteration variables, even inner nested loops, in an OpenMP PARALLEL DO construct (and some others) are private by default. I.e., they do not need to be declared private in the OMP directive. (I think this specification is different than the specification for inner loops in C.) Indeed, if I comment out the associate construct, the problem goes away. So I'm inferring that the associate construct is interfering with the inner loop index being assigned the private attribute. Keith