[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-10 Thread arjen.markus at deltares dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 --- Comment #6 from Arjen Markus --- Thanks for the explanation and the adjusted example. This is clear enough.

[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-09 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 --- Comment #5 from Harald Anlauf --- (In reply to Arjen Markus from comment #4) > It was precisely this sort of issues that led me to write this small sample > program. And I realised this morning, that indeed the host variables need to > be

[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-09 Thread arjen.markus at deltares dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 --- Comment #4 from Arjen Markus --- It was precisely this sort of issues that led me to write this small sample program. And I realised this morning, that indeed the host variables need to be avoided. But does: - loop_body accesses the

[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-08 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #3

[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-08 Thread arjen.markus at deltares dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 --- Comment #2 from Arjen Markus --- Clear, so the workaround I found actually constitutes the proper method of doing this?

[Bug fortran/82895] An internal routine used in a parallel section (OpenMP) does not get the values of thread-private variables

2017-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82895 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|