This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2009 02:32:22 -0000
- Subject: [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
- References: <bug-38724-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from sgk at troutmask dot apl dot washington dot edu 2009-01-05 02:32 -------
Subject: Re: Segfault caused by derived-type with allocatable component in
private clause
On Sun, Jan 04, 2009 at 09:31:20PM -0000, jakub at gcc dot gnu dot org wrote:
>
> ------- Comment #5 from jakub at gcc dot gnu dot org 2009-01-04 21:31 -------
> OpenMP 3.0 doesn't cover types with allocatable components, so this is
> undefined. If anything IMHO we should reject any attempts to privatize
> types with allocatable components, because it isn't clear what will OpenMP 4.0
> require for them and if we now implement something different, it might be a
> compatibility problem.
>
OK. Thanks for the info concerning OpenMP 3.0 and allocatable components.
I agree gfortran should reject the program until we have some idea of
the behavior with regards to OpenMP 4.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724