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

            Bug ID: 82250
           Summary: Fortran OpenACC acc_on_device early folding
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: enhancement
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

If a call to the acc_on_device function has a compile-time constant argument,
the function call evaluates to a compile-time constant value only for C and C++
but not for Fortran.  "As far as I remember, the Fortran front end doesn't know
about/doesn't know how to use these GCC builtins"
(<http://mid.mail-archive.com/87zj28mve5.fsf@kepler.schwinge.homeip.net>).

Reply via email to