[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 2 17:56:00 GMT 2010


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?



More information about the Gcc-bugs mailing list