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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Fortran patch:
  https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655386.html

FOLLOW-UP ISSUES:

* OFFSET issues with LINK clause:
      arr = [(i, i=1,N)]
      map(arr(10:N)
  and then in a device function:
      print *, arr(10)
  → should print 10 but prints 19   (double offset?)
  TESTCASE: FIXME in the testcase of the posted patch

* VARIABLE not AVAILABLE on the device:
  For some
  TESTCASE: FIXME in the testcase of the posted patch

(B) Issues found when writing a testcase:

* COMMON blocks: Using map(a,b,c) instead of map(/mycommon/) fails with:
     error: undefined symbol: mycommon_
  TESTCASE: attachment 58478

* MAP issue: map(/mycommon/) is wrongly rejected for MAP
  → PR 115577

Issues found on the way:
  Similar problem for C with nested functions → PR 115574

Reply via email to