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

            Bug ID: 71952
           Summary: [Coarray, F2008] Rejects valid coarray access with
                    array partref
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: damian at sourceryinstitute dot org
  Target Milestone: ---

I'm filing this just to keep track of a missing coarray feature and to mention
a minor typographical error.  I search on "partref" turns up nothing in the
draft Fortran 2015 standard.  After searching of the web, I realized it was
intended to be "part-ref". A bit more explanation might be helpful if
appropriate. 

$ cat coarray-access-with-array-partref.f90 
  implicit none
  type particles
    real x(1)
  end type
  type(particles) outbox(1)[*],foo
  print *,outbox(1)[1]%x
end 

$ gfortran -fcoarray=lib coarray-access-with-array-partref.f90 
coarray-access-with-array-partref.f90:6:10:

   print *,outbox(1)[1]%x
          1
Error: Sorry, coindexed access at (1) to a scalar component with an array
partref is not yet supported

Reply via email to