[all-commits] [llvm/llvm-project] e062b9: [flang] Downgrade error to warning for consistency...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 10 13:39:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e062b9c9a3433c968786f0d8107b032f53ebe14f
      https://github.com/llvm/llvm-project/commit/e062b9c9a3433c968786f0d8107b032f53ebe14f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp
    M flang/test/Semantics/resolve20.f90

  Log Message:
  -----------
  [flang] Downgrade error to warning for consistency (#157191)

When a procedure name is declared EXTERNAL and then followed up with an
explicit INTERFACE, the compiler emits an error when the procedure is a
dummy procedure but only a warning otherwise. Since the EXTERNAL
statement is harmless in both cases, accept the case of a dummy
procedure as well for consistency.

Fixes https://github.com/llvm/llvm-project/issues/157162.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list