This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix crash in name resolution
ClosedPublic

Authored by klausler on Dec 15 2022, 12:20 PM.

Details

Summary

In an error recovery situation, the name resolution code for a
SELECT TYPE statement must check the presence of an optional
expression before calling GetType() upon it.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 12:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 12:20 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 12:20 PM
vdonaldson accepted this revision.Dec 15 2022, 1:04 PM
This revision is now accepted and ready to land.Dec 15 2022, 1:04 PM
This revision was automatically updated to reflect the committed changes.