[all-commits] [llvm/llvm-project] 1c900e: [flang] Catch error: COMMON block and implicit int...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 27 13:18:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c900ed373983d52a230b6baf7bfb49eaec155a5
      https://github.com/llvm/llvm-project/commit/1c900ed373983d52a230b6baf7bfb49eaec155a5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/declarations04.f90

  Log Message:
  -----------
  [flang] Catch error: COMMON block and implicit interface external subprogram with same name

Declaration checking catches the error of a COMMON block and a subprogram
definition having the same name, but misses the case of a COMMON block
and an a reference to an external subprogram with an implicit interface.
Fix.  Fixes bug https://github.com/llvm/llvm-project/issues/63247.

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




More information about the All-commits mailing list