[all-commits] [llvm/llvm-project] 7dbbf7: [flang] Add lcobound and ucobound to the list of i...

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Thu Sep 1 17:22:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dbbf77e1f18d1d053489e68dad7fbfdf399f360
      https://github.com/llvm/llvm-project/commit/7dbbf77e1f18d1d053489e68dad7fbfdf399f360
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M flang/docs/Intrinsics.md
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/lcobound.f90
    M flang/test/Semantics/ucobound.f90

  Log Message:
  -----------
  [flang] Add lcobound and ucobound to the list of intrinsics

Add the coarray intrinsic functions, lcobound and ucobound, to the
list of intrinsics. For both of these functions, add a check to
ensure that if the optional dim argument is present and statically
checkable, its value is in the inclusive range of 1 and the corank
of the coarray argument. In the semantics tests for lcobound and
ucobound, remove the XFAIL directive, add the ERROR directives and
add additional standard-conforming and non-standard conforming
calls.

Reviewed By: klausler, craig.rasmussen

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




More information about the All-commits mailing list