This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42865] OpenMP threadprivate allocatable saved variable -> seg fault
- From: "longb at cray dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2010 23:49:21 -0000
- Subject: [Bug fortran/42865] OpenMP threadprivate allocatable saved variable -> seg fault
- References: <bug-42865-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from longb at cray dot com 2010-02-05 23:49 -------
This bug was filed because it appeared that the test worked with the Cray, PGI,
and Intel compilers. However, based on the notes in Comments 1 and 2, more
tests were written which uncovered that the Cray compiler seems to do the right
thing for an F03 compiler (dynamically allocating and deallocating the thread
private versions of the allocatable array), whereas PGI and Intel were
effectively sharing the array contrary to the threadprivate directive. Based on
this, the OpenMP testers agreed that the interpretation (at least for a pre-F03
compiler) given for gfortran was valid and the Bug can be closed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42865