[all-commits] [llvm/llvm-project] de457f: [flang] Error message situation should be a warning

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 11:22:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de457f64891c22a4680865642548f21b685491a1
      https://github.com/llvm/llvm-project/commit/de457f64891c22a4680865642548f21b685491a1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve17.f90
    M flang/test/Semantics/resolve18.f90

  Log Message:
  -----------
  [flang] Error message situation should be a warning

f18 emits an error message when the same name is used in a scope
for both a procedure and a generic interface, and the procedure is
not a specific procedure of the generic interface.  It may be
questionable usage, and not portable, but it does not appear to
be non-conforming by a strict reading of the standard, and many
popular Fortran compilers accept it.

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




More information about the All-commits mailing list