[all-commits] [llvm/llvm-project] 221ba6: [flang] Stricter checking of DIM= arguments to LBO...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 21 12:44:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 221ba64e05de5ccd59a16ee3d26369140d9ae795
      https://github.com/llvm/llvm-project/commit/221ba64e05de5ccd59a16ee3d26369140d9ae795
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/test/Evaluate/errors01.f90
    M flang/test/Semantics/misc-intrinsics.f90

  Log Message:
  -----------
  [flang] Stricter checking of DIM= arguments to LBOUND/UBOUND/SIZE

DIM= arguments with constant values can be checked for validity
even when other arguments to an intrinsic function can't be
folded.  Handle errors with assumed-rank arguments as well.

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




More information about the All-commits mailing list