[all-commits] [llvm/llvm-project] 7c71ce: [flang] Defer NAMELIST group item name resolution

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 14 17:50:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c71ce97e7be0a00322459527564ad1194e1e4b5
      https://github.com/llvm/llvm-project/commit/7c71ce97e7be0a00322459527564ad1194e1e4b5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/call19.f90
    M flang/test/Semantics/resolve40.f90

  Log Message:
  -----------
  [flang] Defer NAMELIST group item name resolution

Items in NAMELIST groups might be host-associated implicitly-typed
variables, but name resolution can't know that when the NAMELIST
appears in a specification part and the host's execution part has
not yet been analyzed.  So defer NAMELIST group item name resolution
to the end of the execution part.  This is safe because nothing
else in name resolution depends on whether a variable is in a
NAMELIST group or not.

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




More information about the All-commits mailing list