[all-commits] [llvm/llvm-project] 290cc4: [flang] Prevent crash in error case: elemental wit...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Dec 16 16:46:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 290cc4fe17e179a6165908ae23609a7b639bfad3
      https://github.com/llvm/llvm-project/commit/290cc4fe17e179a6165908ae23609a7b639bfad3
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp

  Log Message:
  -----------
  [flang] Prevent crash in error case: elemental with alternate return

When an ELEMENTAL subroutine is erroneously declared with alternate return
arguments, don't crash when checking the ranks of the actual arguments.

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




More information about the All-commits mailing list