[all-commits] [llvm/llvm-project] d20f55: [flang] Silence bogus error on local proc pointer ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Nov 19 16:20:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d20f55fbd5786f056ff8417bddc7c47df6c7f90b
      https://github.com/llvm/llvm-project/commit/d20f55fbd5786f056ff8417bddc7c47df6c7f90b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/pointer02.f90

  Log Message:
  -----------
  [flang] Silence bogus error on local proc pointer initializer (#116663)

A procedure pointer is allowed to be initialized with the subprogram in
which it is local, assuming that other requirements are satisfied.

Add a good test for local procedure pointer initialization, as no test
existed for the error message in question.

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



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