This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 2 Dec 2010 17:56:17 +0000
- Subject: [Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause
- Auto-submitted: auto-generated
- References: <bug-46752-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-02 17:55:56 UTC ---
(In reply to comment #3)
> This usage is not specifically prohibited in the API.
Sound like a paraphrase for "implementation defined"/"processor dependent" to
me.
> James Beyer says that 'We did intentionally allow allocatables that are
> not allocated into the firstprivate clause'
Which seemingly did not work as the combining both standard disallows it, cf.
comment 2.
As Cray has a representative at the OpenMP ARB and as there is an almost ready
OpenMP 3.1 draft (I think the current voting round ends on Tuesday): How about
suggesting the OpenMP ARB that one explicitly states in the upcoming OpenMP
spec that it is allowed?