[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #9 from Keith Lindsay --- Harald, Thanks for your tips on validation/sanitizing tools. I am not sufficiently fluent in standard-ese to know what 'associated do-loops(s)" means. It doesn't help that BLOCK and ASSOCIATE appear in othe

[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #7 from Keith Lindsay --- 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

[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #6 from Keith Lindsay --- 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

[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #4 from Keith Lindsay --- Thanks for taking a look. I've attached the output from the command gfortran -v -fopenmp openmp_nested_loops.f90 -o openmp_nested_loops on two different systems where I'm seeing the problem.

[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #3 from Keith Lindsay --- Created attachment 38455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38455&action=edit output from gfortran -v

[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-09 Thread klindsay at ucar dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014 --- Comment #2 from Keith Lindsay --- Created attachment 38454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38454&action=edit output from gfortran -v

[Bug fortran/71014] New: associate statement inside omp parallel do appears to disable default private attribute for inner loop indices

2016-05-08 Thread klindsay at ucar dot edu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: klindsay at ucar dot edu Target Milestone: --- Created attachment 38446 --> https://gcc.gnu.org/bugzi

[Bug fortran/68546] New: passing non-contiguous associated array section garbles results

2015-11-25 Thread klindsay at ucar dot edu
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: klindsay at ucar dot edu Target Milestone: --- Created attachment 36840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36840&action=edit program demonstrating problem Hi