[all-commits] [llvm/llvm-project] e6373d: [flang] Allow assignment to host association in BL...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Aug 7 14:49:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6373de53d35ebc0e9b0d62e664b7718f589b28e
      https://github.com/llvm/llvm-project/commit/e6373de53d35ebc0e9b0d62e664b7718f589b28e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/assignment.cpp
    M flang/lib/Semantics/tools.cpp

  Log Message:
  -----------
  [flang] Allow assignment to host association in BLOCK in PURE subprogram

We need to distinguish BLOCK host association from subprogram host
association when checking assignments in PURE subprograms.
The specific case that is not allowed is an assignment to a variable
from the scope around the PURE subprogram.

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




More information about the All-commits mailing list