Unverified Commit c9f94bac authored by Peter Klausler's avatar Peter Klausler Committed by GitHub
Browse files

[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.
parent 70d1844a
Pipeline #2601 failed with stages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment