[all-commits] [llvm/llvm-project] c9f94b: [flang] Fix crash in error recovery (implicit host...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9f94baca5d603392ed1739747dd0f9b2bd3adb3
      https://github.com/llvm/llvm-project/commit/c9f94baca5d603392ed1739747dd0f9b2bd3adb3
  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/scope.h
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/procinterface05.f90

  Log Message:
  -----------
  [flang] Fix crash in error recovery (implicit host association) (#92795)

When a symbol appears in a specification expression in a subprogram
contained in a host program unit, semantics may have to create a symbol
in the host and use host association to it. This shouldn't happen for
nested subprograms that can't import such a symbol, such as interface
blocks by default. Further, when host association fails, semantics
shouldn't crash.

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



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