[all-commits] [llvm/llvm-project] f87af7: [flang] Silence a bogus warning (#69799)

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 31 11:15:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f87af714a555ad06c9d212ae3c333294d366b76d
      https://github.com/llvm/llvm-project/commit/f87af714a555ad06c9d212ae3c333294d366b76d
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

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

  Log Message:
  -----------
  [flang] Silence a bogus warning (#69799)

A recent fix (https://github.com/llvm/llvm-project/pull/66232) to
interpret a hitherto unknown name whose first appearance is as the
target of a procedure pointer initializer as an external procedure has
led to some inapproprite warning messages if the name is later defined
as an external subroutine ("X was already declared as an external").

Ensure that the EXTERNAL attribute is correctly noted as being implicit,
and that it's okay that neither the Subroutine nor Function flag has yet
been set for the implicit external.




More information about the All-commits mailing list