[all-commits] [llvm/llvm-project] 22ed61: [flang] Emit errors on vector subscripts with dupl...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 17 12:24:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ed61ed87ef7134825c01960d8b1a78c87a36c7
      https://github.com/llvm/llvm-project/commit/22ed61ed87ef7134825c01960d8b1a78c87a36c7
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/definable.cpp
    M flang/lib/Semantics/definable.h
    A flang/test/Semantics/definable06.f90

  Log Message:
  -----------
  [flang] Emit errors on vector subscripts with duplicated elements when object must be definable

When the left-hand side of an assignment, or any other context demanding
definability, comprises a designator with a vector subscript that is
known at compilation time to have one or more duplicated elements,
emit an error message.

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




More information about the All-commits mailing list