[all-commits] [llvm/llvm-project] 9fdde6: [flang] Avoid crash in error recovery

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 27 13:24:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fdde69f72f6145d220645d1b218b4c6f2be2c13
      https://github.com/llvm/llvm-project/commit/9fdde69f72f6145d220645d1b218b4c6f2be2c13
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/resolve52.f90

  Log Message:
  -----------
  [flang] Avoid crash in error recovery

When a PASS() clause names a nonexistent dummy argument, don't crash
later in expression semantics.
Fixes https://github.com/llvm/llvm-project/issues/63487.

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




More information about the All-commits mailing list