[all-commits] [llvm/llvm-project] 8f80d4: [flang] Fix crash in statement function semantics ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Mar 1 15:10:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4
      https://github.com/llvm/llvm-project/commit/8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

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

  Log Message:
  -----------
  [flang] Fix crash in statement function semantics (bug #80532) (#82702)

When statement function expressions are analyzed, ensure that the
semantics context has a valid location set, otherwise a type spec (like
"integer::") can lead to a crash.

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



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