[all-commits] [llvm/llvm-project] 70d184: [flang] Fix crash in error recovery (#92786)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 23 13:31:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70d1844abebb786c1510f72f79558ff3e8710d39
      https://github.com/llvm/llvm-project/commit/70d1844abebb786c1510f72f79558ff3e8710d39
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Semantics/resolve-names-utils.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp

  Log Message:
  -----------
  [flang] Fix crash in error recovery (#92786)

EQUIVALENCE set processing assumes that any arrays have explicit shape
and constant lower bounds. When an erroneous program violates those
assumptions, the compiler crashes. Fix.

Fixes https://github.com/llvm/llvm-project/issues/92636.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list