[all-commits] [llvm/llvm-project] 15c937: [flang] Fix characterization of result of function...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 18 11:25:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15c93766a5f6c8b8677210676d55f9bb397043ce
      https://github.com/llvm/llvm-project/commit/15c93766a5f6c8b8677210676d55f9bb397043ce
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M flang/include/flang/Common/enum-class.h
    M flang/lib/Semantics/pointer-assignment.cpp

  Log Message:
  -----------
  [flang] Fix characterization of result of function returning procedur… (#66248)

…e pointer

The procedure characterization package correctly characterizes the
result of a reference to a function that returns a procedure pointer. In
the event of a result that is a pointer to a function that itself is a
procedure pointer, the code in pointer assignment semantics checking was
mistakenly using that result's procedure characteristics as the
characteristics of the original function reference. This is just wrong;
delete it.




More information about the All-commits mailing list