[all-commits] [llvm/llvm-project] 74f403: [flang] Fix type inheritance for statement functio...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 3 13:26:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74f4034f7106ef52a6a597dec14352e127e6fe0f
      https://github.com/llvm/llvm-project/commit/74f4034f7106ef52a6a597dec14352e127e6fe0f
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [flang] Fix type inheritance for statement function dummy arguments (#93624)

The code that used existing type declarations (if any) for the names
being used as dummy arguments in a statement function definition would
apply those types only if they came from EntityDetails symbols. This
broke a case in which the type was being inherited from a Cray pointee.

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



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