[all-commits] [llvm/llvm-project] ad778a: [flang] Better error recovery when using erroneous...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 08:20:48 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad778a8a0ffd0ab54673c04c196ce8192ea15e6f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/associated.f90

  Log Message:
  [flang] Better error recovery when using erroneous procedures and pointers as intrinsic actual arguments

Instead of crashing with an internal error when a procedure or
procedure pointer with a badly declared interface is presented to
an intrinsic procedure like ASSOCIATED, emit an error message
and continue with compilation.

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

More information about the All-commits mailing list