[all-commits] [llvm/llvm-project] 13893a: [flang] Compile-time checking of substring bounds ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Nov 13 15:03:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13893a08d91313900857be494ee4702a4f0847af
      https://github.com/llvm/llvm-project/commit/13893a08d91313900857be494ee4702a4f0847af
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/data17.f90

  Log Message:
  -----------
  [flang] Compile-time checking of substring bounds (#71453)

When the bounds of a substring reference are known during compilation,
and are outside the valid range for the character base object, issue an
error message.




More information about the All-commits mailing list