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

            Bug ID: 93025
           Summary: [OpenACC] ICE with   copy(y(1)%cc(:)%i) type of
                    strided access – permitted since commit of OpenACC 2.6
                    deep copy patch series
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: jules at gcc dot gnu.org, tschwinge at gcc dot gnu.org
  Target Milestone: ---

Created attachment 47532
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47532&action=edit
Test case - compile with "gfortran -fopenacc"

Supported since https://gcc.gnu.org/ml/gcc-patches/2019-12/msg01260.html
"OpenACC 2.6 deep copy: Fortran front-end parts"

It is not clear to me whether it is valid or not.

* "copy(y(:)%i)" – strided access, i.e. y(1)%i + y(2)%i + …
  Is this valid OpenACC or not?
  [Currently equivalent to "copy(y)"]

* "copy(z(1)%cc(:)%i)" – also strided access, but gives an ICE

Reply via email to