[all-commits] [llvm/llvm-project] bef63d: [flang] Handle instantiation of procedure pointer ...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Tue Apr 13 10:56:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bef63dc88a0a8e9294519140279de941996c96c8
      https://github.com/llvm/llvm-project/commit/bef63dc88a0a8e9294519140279de941996c96c8
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M flang/lib/Semantics/type.cpp
    A flang/test/Semantics/resolve105.f90

  Log Message:
  -----------
  [flang] Handle instantiation of procedure pointer components

We were not instantiating procedure pointer components.  If the instantiation
contained errors, we were not reporting them.  This resulted in internal errors
in later processing.

I fixed this by adding code in .../lib/Semantics/type.cpp in
InstantiateComponent() to handle a component with ProcEntityDetails.  I also
added several tests for various good and bad instantiations of procedure
pointer components.

Differential Revision: https://reviews.llvm.org/D100341




More information about the All-commits mailing list