public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/38724] New: Segfault with allocatable component in private clause
@ 2009-01-04 19:41 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
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-01-04 19:41 UTC (permalink / raw)
To: gcc-bugs
The attached code compiles but dies with a segmentation fault. If the
omp directive is changed from
!$omp parallel private(k,cell)
to
!$omp parallel private(k)
the code executes.
--
Summary: Segfault with allocatable component in private clause
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kargl at gcc dot gnu dot org
GCC host triplet: i386-unknown-freebsd8.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 ` 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
* [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 ` [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
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).