[all-commits] [llvm/llvm-project] f5e445: [flang] Fix interpretation of intrinsic names as a...

Tim Keith via All-commits all-commits at lists.llvm.org
Tue Aug 11 16:53:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f5e4451e1f27e87d30c4eb0c3c99f2f8d07039e1
      https://github.com/llvm/llvm-project/commit/f5e4451e1f27e87d30c4eb0c3c99f2f8d07039e1
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/call02.f90
    M flang/test/Semantics/call09.f90

  Log Message:
  -----------
  [flang] Fix interpretation of intrinsic names as arguments

If an unrestricted specific intrinsic function name is first encountered
as an actual argument, it should be interpreted as an object entity,
not a procedure entity.

Fix some tests that depended on the previous interpretation by adding
explicit INTRINSIC statements.

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




More information about the All-commits mailing list