https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79097
Bug ID: 79097 Summary: coarray and pointer component Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: physiker at toast2 dot net Target Milestone: --- Created attachment 40522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40522&action=edit source code When the code coptr.f90 is compiled by a current version of gfortran and a current version of opencoarrays is utilized the resulting binary prints the output: cafrun -n 2 ./coptr 243769896 2 I expect the output: 1 2 caf -o coptr coptr.f90 -g -W -Wall LANG=C gfortran-7 --version GNU Fortran (GCC) 7.0.0 20170114 (experimental) [trunk revision 244467] Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. caf -v OpenCoarrays Coarray Fortran Compiler Wrapper (caf version 1.8.3) Copyright (C) 2015-2016 Sourcery, Inc. OpenCoarrays comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of OpenCoarrays under the terms of the BSD 3-Clause License. For more information about these matters, see the file named LICENSE.