This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices
- From: "klindsay at ucar dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 May 2016 19:41:23 +0000
- Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices
- Auto-submitted: auto-generated
- References: <bug-71014-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014
--- Comment #7 from Keith Lindsay <klindsay at ucar dot edu> ---
The Linux system that I'm working on has multiple versions of gcc/gfortran
installed. I've compiled and run my example program with different versions and
have found the following:
Versions 4.9.0, 4.9.1, 4.9.2, 4.9.3, 5.0.1, 5.1.0
Program, as is, works (i.e. no reported mismatches over 10 runs)
Versions 5.2.0, 5.3.0, 6.0.1, 6.1.0
Program, as is, reports mismatches (and sometimes hangs)
So it seems like the behavior I'm seeing originated in 5.2.0.