[all-commits] [llvm/llvm-project] 8eebf4: [flang] Fix crash on USE error

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:20:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8eebf4696454378deb4b6dcbd5a17227eeb3677c
      https://github.com/llvm/llvm-project/commit/8eebf4696454378deb4b6dcbd5a17227eeb3677c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

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

  Log Message:
  -----------
  [flang] Fix crash on USE error

Handle the case of a non-generic procedure that is USE associated
into a scope that has a generic interface of the same name with an
appropriate error rather than crashing.

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




More information about the All-commits mailing list