[all-commits] [llvm/llvm-project] a5eb6b: [flang] Relax overindexing error to warning for la...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5eb6bdd8e126ad94de0a12002cac2c3f01e05f5
      https://github.com/llvm/llvm-project/commit/a5eb6bdd8e126ad94de0a12002cac2c3f01e05f5
  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/expr-errors06.f90

  Log Message:
  -----------
  [flang] Relax overindexing error to warning for last dummy dimension (#71725)

Compilation-time subscript value range checking should emit a warning,
not an error, when the indexed array is a dummy argument; there's
old-school codes out there that should have used assumed-size dummy
arguments but didn't.




More information about the All-commits mailing list