This is an archive of the discontinued LLVM Phabricator instance.

[flang] Catch bad inquiries in specification expressions
ClosedPublic

Authored by klausler on Jan 27 2023, 9:39 AM.

Details

Summary

When a descriptor inquiry or inquiry function's result is
not constant and is known to be impossible to correctly determine
at runtime, raise an error. For example, LEN(X) when X is
a local allocatable variable with deferred length.

Diff Detail

Event Timeline

klausler created this revision.Jan 27 2023, 9:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2023, 9:39 AM
klausler requested review of this revision.Jan 27 2023, 9:39 AM
jeanPerier accepted this revision.Feb 1 2023, 12:58 AM

Looks good.

This revision is now accepted and ready to land.Feb 1 2023, 12:58 AM
This revision was automatically updated to reflect the committed changes.