[all-commits] [llvm/llvm-project] 92ecc2: [flang] Fix crash in semantics on bad program (#87...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 8 11:54:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92ecc22b8d18ad937053177533bd23c775556be6
      https://github.com/llvm/llvm-project/commit/92ecc22b8d18ad937053177533bd23c775556be6
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

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

  Log Message:
  -----------
  [flang] Fix crash in semantics on bad program (#87199)

Don't accept a putative statement function definition for a symbol that
is a subprogram but can't possibly be a statement function.

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



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