[all-commits] [llvm/llvm-project] ddd692: [flang] Allow forward reference to ENTRY from gene...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed May 25 17:15:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddd692e9d5722b8b85a871d9a4188358274b5f6e
      https://github.com/llvm/llvm-project/commit/ddd692e9d5722b8b85a871d9a4188358274b5f6e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

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

  Log Message:
  -----------
  [flang] Allow forward reference to ENTRY from generic interface

The CreateEntry() function in name resolution needs to allow for the name
of an alternate entry point already having been declared in the outer scope
as the homonymous specific procedure of a generic interface; e.g.,

  interface foo
    module procedure foo
  end interface
  subroutine bar
    entry foo
  end subroutine

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




More information about the All-commits mailing list