[all-commits] [llvm/llvm-project] 7db05a: [flang] Fix crash in name resolution

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Dec 17 17:24:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7db05ae14d7982fbcbcd7e596de588c6cd911c38
      https://github.com/llvm/llvm-project/commit/7db05ae14d7982fbcbcd7e596de588c6cd911c38
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  -----------
  [flang] Fix crash in name resolution

In an error recovery situation, the name resolution code for a
SELECT TYPE statement must check the presence of an optional
expression before calling GetType() upon it.

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




More information about the All-commits mailing list