This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow pure function references in expandable scalar
ClosedPublic

Authored by klausler on Aug 3 2022, 12:46 PM.

Details

Summary

F18 disallows function references and coarray references from
appearing in scalar expressions that are to be expanded into
arrays to conform with other operands or actual arguments in
an elemental expression. This is too strong, as pure procedures
can be safely used.

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2022, 12:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 12:46 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 3 2022, 12:46 PM
This revision is now accepted and ready to land.Aug 4 2022, 1:13 AM