[all-commits] [llvm/llvm-project] 787ee9: [flang] Allow for host association in ConvertTo(Ob...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Apr 27 12:30:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 787ee99d4fd9fd45c9546202e9b73b01ce28c49e
      https://github.com/llvm/llvm-project/commit/787ee99d4fd9fd45c9546202e9b73b01ce28c49e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  -----------
  [flang] Allow for host association in ConvertTo(Object|Proc)Entity

Name resolution fails with a bogus "is not a variable" error message
when a host-associated object appears in a NAMELIST group.  The root
cause is that ConvertToObjectEntity() returns false for host-associated
objects.  Fix that, and also apply a similar fix to ConvertToProcEntity()
nearby.

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




More information about the All-commits mailing list