[all-commits] [llvm/llvm-project] 272549: [flang] Check that DO index variables are definable

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Jan 29 14:27:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2725499221c93247cd91ea734ee6b4e022727a63
      https://github.com/llvm/llvm-project/commit/2725499221c93247cd91ea734ee6b4e022727a63
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-01-29 (Sun, 29 Jan 2023)

  Changed paths:
    M flang/lib/Semantics/check-do-forall.cpp
    A flang/test/Semantics/definable03.f90

  Log Message:
  -----------
  [flang] Check that DO index variables are definable

We're letting immutable objects appear as DO index variables;
catch and diagnose this error.

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




More information about the All-commits mailing list