[all-commits] [llvm/llvm-project] c70405: [flang] Reduce implicit interface compatibility wa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 31 10:12:29 PDT 2023


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

  Changed paths:
    M flang/lib/Evaluate/characteristics.cpp
    M flang/test/Semantics/call35.f90

  Log Message:
  -----------
  [flang] Reduce implicit interface compatibility warnings due to length (#69385)

When a procedure with an implicit interface is called from two call
sites with distinct argument types, we emit a warning. This can lead to
a lot of output when the actual argument types are differing-length
character, and the warnings are less important since the procedure may
well have been defined with assumed-length character dummy arguments. So
let cases like CALL MYERROR('ab'); CALL MYERROR('abc') slide by without
a warning.




More information about the All-commits mailing list