[all-commits] [llvm/llvm-project] d9af9c: [flang] Don't set Subroutine flag on PROCEDURE() p...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 8 11:06:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9af9cf436ad1b892ecf8b794b0052135cc4029c
      https://github.com/llvm/llvm-project/commit/d9af9cf436ad1b892ecf8b794b0052135cc4029c
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

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

  Log Message:
  -----------
  [flang] Don't set Subroutine flag on PROCEDURE() pointers (#102011)

External procedures about which no characteristics are known -- from
EXTERNAL and PROCEDURE() statements of entities that are never called --
are marked as subroutines. This shouldn't be done for procedure
pointers, however.

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



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