public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails
@ 2022-01-10 20:03 damian at sourceryinstitute dot org
2022-01-25 16:26 ` [Bug fortran/103970] " vehre at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: damian at sourceryinstitute dot org @ 2022-01-10 20:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970
Bug ID: 103970
Summary: Multi-image co_broadcast of derived type with
allocatable components fails
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: damian at sourceryinstitute dot org
Target Milestone: ---
Using gfortran 11.2.0 installed by Homebrew on macOS 12.0.1 to compile the code
below and link against OpenCoarrays 2.9.2 built with MPICH 3.2.0 results in
printing "Test failed." when executed in multiple images.
implicit none
type foo_t
integer i
integer, allocatable :: j
end type
type(foo_t) foo
integer, parameter :: source_image = 1
if (this_image() == source_image) then
foo = foo_t(2,3)
else
allocate(foo%j)
end if
call co_broadcast(foo, source_image)
if ((foo%i /= 2) .or. (foo%j /= 3)) error stop "Test failed."
sync all
print *, "Test passed."
end
This bug is also summarized in OpenCoarrays issue 727 at
https://github.com/sourceryinstitute/OpenCoarrays/issues/727, where Andre
Vehreschild confirms that the problem is a compiler bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/103970] Multi-image co_broadcast of derived type with allocatable components fails
2022-01-10 20:03 [Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails damian at sourceryinstitute dot org
@ 2022-01-25 16:26 ` vehre at gcc dot gnu.org
2022-01-25 16:33 ` vehre at gcc dot gnu.org
2022-02-14 15:22 ` vehre at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vehre at gcc dot gnu.org @ 2022-01-25 16:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970
Andre Vehreschild <vehre at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vehre at gcc dot gnu.org
Last reconfirmed| |2022-01-25
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/103970] Multi-image co_broadcast of derived type with allocatable components fails
2022-01-10 20:03 [Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails damian at sourceryinstitute dot org
2022-01-25 16:26 ` [Bug fortran/103970] " vehre at gcc dot gnu.org
@ 2022-01-25 16:33 ` vehre at gcc dot gnu.org
2022-02-14 15:22 ` vehre at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vehre at gcc dot gnu.org @ 2022-01-25 16:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970
Andre Vehreschild <vehre at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
--- Comment #1 from Andre Vehreschild <vehre at gcc dot gnu.org> ---
Bugfix at:
https://gcc.gnu.org/pipermail/fortran/2022-January/057459.html
Waiting for review/ok.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/103970] Multi-image co_broadcast of derived type with allocatable components fails
2022-01-10 20:03 [Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails damian at sourceryinstitute dot org
2022-01-25 16:26 ` [Bug fortran/103970] " vehre at gcc dot gnu.org
2022-01-25 16:33 ` vehre at gcc dot gnu.org
@ 2022-02-14 15:22 ` vehre at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vehre at gcc dot gnu.org @ 2022-02-14 15:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970
Andre Vehreschild <vehre at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Andre Vehreschild <vehre at gcc dot gnu.org> ---
Review was ok'ed and patch committed more than two weeks ago.
Backport to gcc-11 committed as 680ee9c3332.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-14 15:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 20:03 [Bug fortran/103970] New: Multi-image co_broadcast of derived type with allocatable components fails damian at sourceryinstitute dot org
2022-01-25 16:26 ` [Bug fortran/103970] " vehre at gcc dot gnu.org
2022-01-25 16:33 ` vehre at gcc dot gnu.org
2022-02-14 15:22 ` vehre at gcc dot gnu.org
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).