public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
       [not found] <bug-38724-4@http.gcc.gnu.org/bugzilla/>
@ 2013-08-12 12:46 ` janus at gcc dot gnu.org
  2013-08-12 13:05 ` [Bug fortran/38724] " janus at gcc dot gnu.org
  2015-01-03 10:27 ` [Bug fortran/38724] Segfault caused by derived-type with allocatable component in OpenMP " janus at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu.org @ 2013-08-12 12:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724

--- Comment #7 from janus at gcc dot gnu.org ---
see also
https://groups.google.com/forum/?fromgroups#!topic/comp.lang.fortran/vPs4MJamnCM


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38724] Segfault caused by derived-type with allocatable component in private clause
       [not found] <bug-38724-4@http.gcc.gnu.org/bugzilla/>
  2013-08-12 12:46 ` [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause janus at gcc dot gnu.org
@ 2013-08-12 13:05 ` janus at gcc dot gnu.org
  2015-01-03 10:27 ` [Bug fortran/38724] Segfault caused by derived-type with allocatable component in OpenMP " janus at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu.org @ 2013-08-12 13:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-12
          Component|libgomp                     |fortran
     Ever confirmed|0                           |1

--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to Steve Kargl from comment #6)
> I agree gfortran should reject the program until we have some idea of
> the behavior with regards to OpenMP 4.0.

It seems that the final OpenMP 4.0 specification does not support allocatable
components. In particular it lists "Allocatable enhancement" as unsupported,
which supposedly refers to TR 15581 and therefore includes alloc. comp., see

http://openmp.org/wp/openmp-specifications/

So the test case should probably be rejected by the front end (alternatively:
support it as a GNU extension).


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38724] Segfault caused by derived-type with allocatable component in OpenMP private clause
       [not found] <bug-38724-4@http.gcc.gnu.org/bugzilla/>
  2013-08-12 12:46 ` [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause janus at gcc dot gnu.org
  2013-08-12 13:05 ` [Bug fortran/38724] " janus at gcc dot gnu.org
@ 2015-01-03 10:27 ` janus at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu.org @ 2015-01-03 10:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segfault caused by          |Segfault caused by
                   |derived-type with           |derived-type with
                   |allocatable component in    |allocatable component in
                   |private clause              |OpenMP private clause
           Severity|normal                      |enhancement


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
  2009-01-04 19:41 [Bug libgomp/38724] New: Segfault with allocatable component in " kargl at gcc dot gnu dot org
  2009-01-04 19:47 ` [Bug libgomp/38724] Segfault caused by derived-type " kargl at gcc dot gnu dot org
  2009-01-04 21:31 ` jakub at gcc dot gnu dot org
@ 2009-01-05  2:32 ` sgk at troutmask dot apl dot washington dot edu
  2 siblings, 0 replies; 6+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2009-01-05  2:32 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
  2009-01-04 19:41 [Bug libgomp/38724] New: Segfault with allocatable component in " kargl at gcc dot gnu dot org
  2009-01-04 19:47 ` [Bug libgomp/38724] Segfault caused by derived-type " kargl at gcc dot gnu dot org
@ 2009-01-04 21:31 ` jakub at gcc dot gnu dot org
  2009-01-05  2:32 ` sgk at troutmask dot apl dot washington dot edu
  2 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-04 21:31 UTC (permalink / raw)
  To: gcc-bugs



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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause
  2009-01-04 19:41 [Bug libgomp/38724] New: Segfault with allocatable component in " kargl at gcc dot gnu dot org
@ 2009-01-04 19:47 ` kargl at gcc dot gnu dot org
  2009-01-04 21:31 ` jakub at gcc dot gnu dot org
  2009-01-05  2:32 ` sgk at troutmask dot apl dot washington dot edu
  2 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-01-04 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kargl at gcc dot gnu dot org  2009-01-04 19:47 -------
Make the summary a little clear.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segfault with allocatable   |Segfault caused by derived-
                   |component in private clause |type with allocatable
                   |                            |component in private clause


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-03 10:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38724-4@http.gcc.gnu.org/bugzilla/>
2013-08-12 12:46 ` [Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause janus at gcc dot gnu.org
2013-08-12 13:05 ` [Bug fortran/38724] " janus at gcc dot gnu.org
2015-01-03 10:27 ` [Bug fortran/38724] Segfault caused by derived-type with allocatable component in OpenMP " janus at gcc dot gnu.org
2009-01-04 19:41 [Bug libgomp/38724] New: Segfault with allocatable component in " kargl at gcc dot gnu dot org
2009-01-04 19:47 ` [Bug libgomp/38724] Segfault caused by derived-type " kargl at gcc dot gnu dot org
2009-01-04 21:31 ` jakub at gcc dot gnu dot org
2009-01-05  2:32 ` sgk at troutmask dot apl dot washington dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).