[all-commits] [llvm/llvm-project] 553cd1: [flang] Error recovery in bad specific MIN/MAX calls

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 22 06:48:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 553cd1924d39927ef8a0889b9f643de147b9037a
      https://github.com/llvm/llvm-project/commit/553cd1924d39927ef8a0889b9f643de147b9037a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M flang/lib/Evaluate/fold-implementation.h
    M flang/test/Semantics/call23.f90

  Log Message:
  -----------
  [flang] Error recovery in bad specific MIN/MAX calls

When a specific MIN/MAX intrinsic function (e.g. MAX1) reference
has an actual argument error, ensure that a later attempt to fold
the call into a constant doesn't crash due to a missing argument.
Fixes https://github.com/llvm/llvm-project/issues/63140

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




More information about the All-commits mailing list