[all-commits] [llvm/llvm-project] f8f700: [flang] Catch procedure pointer interface error

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 3 14:03:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8f7002828ec66cd6261d3e00312e9b1f4b59b79
      https://github.com/llvm/llvm-project/commit/f8f7002828ec66cd6261d3e00312e9b1f4b59b79
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Semantics/check-declarations.cpp

  Log Message:
  -----------
  [flang] Catch procedure pointer interface error

A procedure pointer is allowed to name a specific intrinsic function
from F'2018 table 16.2 as its interface, but not other intrinsic
procedures.  Catch this error, and thereby also fix a crash resulting
from a failure later in compilation from failed characteristics;
while here, also catch the similar error with initializers.

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




More information about the All-commits mailing list