------- 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