This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]