[all-commits] [llvm/llvm-project] 3674a5: [flang] Permit unused USE association of subprogra...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 4 08:41:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3674a5f18e8d34cc597e0bd81f38fab3731139f5
      https://github.com/llvm/llvm-project/commit/3674a5f18e8d34cc597e0bd81f38fab3731139f5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M flang/include/flang/Support/Fortran-features.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/lib/Support/Fortran-features.cpp
    M flang/test/Semantics/resolve18.f90

  Log Message:
  -----------
  [flang] Permit unused USE association of subprogram name (#134009)

A function or subroutine can allow an object of the same name to appear
in its scope, so long as the name is not used. This is similar to the
case of a name being imported from multiple distinct modules, and
implemented by the same representation.

It's not clear whether this is conforming behavior or a common
extension.



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