This is an archive of the discontinued LLVM Phabricator instance.

[flang] Defer stmt function body analysis until specification part complete
ClosedPublic

Authored by klausler on Jun 29 2020, 11:25 AM.

Details

Summary

Expression analysis was being invoked on the bodies of statement functions
as they were being encountered during name resolution. This led to failures
on some FCVS tests in cases where those expressions contained implicitly
typed objects. Defer the analysis of statemet function bodies to the end
of the specification part, at which time the symbols of the enclosing scope
will have been typed.

Diff Detail

Event Timeline

klausler created this revision.Jun 29 2020, 11:25 AM
Herald added a project: Restricted Project. · View Herald Transcript
tskeith accepted this revision.Jun 29 2020, 11:59 AM
This revision is now accepted and ready to land.Jun 29 2020, 11:59 AM
This revision was automatically updated to reflect the committed changes.