This is an archive of the discontinued LLVM Phabricator instance.

[flang] Expunge bogus semantic check for ELEMENTAL without dummies
ClosedPublic

Authored by klausler on Oct 14 2021, 1:20 PM.

Details

Summary

Semantics refuses valid ELEMENTAL subprograms without dummy arguments,
but there's no such constraint in the standard; indeed, subclause
15.8.2 discusses the meaning of calls to ELEMENTAL functions with
arguments. Remove the check and its test.

Diff Detail

Event Timeline

klausler created this revision.Oct 14 2021, 1:20 PM
klausler requested review of this revision.Oct 14 2021, 1:20 PM
PeteSteinfeld accepted this revision.Oct 14 2021, 1:49 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Oct 14 2021, 1:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2021, 2:33 PM