[all-commits] [llvm/llvm-project] 78f19d: [flang] Relax two !DIR$ IGNORE_TKR error cases wit...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 20 13:40:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78f19d9ba5c83cc285a307f7bd74589ff65ac52e
      https://github.com/llvm/llvm-project/commit/78f19d9ba5c83cc285a307f7bd74589ff65ac52e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/ignore_tkr01.f90

  Log Message:
  -----------
  [flang] Relax two !DIR$ IGNORE_TKR error cases with descriptor arguments

Allow two currently erroneous cases of !DIR$ IGNORE_TKR errors: allocatable
and pointers, and IGNORE_TKR(R) on (other) arguments passed via descriptors.
Downgrade these cases to warnings when they appear in external interfaces,
since their implementations may well be in C.  But retain the error status
on these cases for module procedures, since the Fortran implementation
probably can't work.

Differential Revision: https://reviews.llvm.org/D148833




More information about the All-commits mailing list