This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check that various variables referenced in I/O statements may be defined
ClosedPublic

Authored by klausler on Aug 25 2020, 10:37 AM.

Details

Summary

A number of I/O syntax rules involve variables that will be written to,
and must therefore be definable. This includes internal file variables,
IOSTAT= and IOMSG= specifiers, most INQUIRE statement specifiers, a few
other specifiers, and input variables. This patch checks for
these violations, and implements several additional I/O TODO constraint
checks.

Diff Detail

Event Timeline

klausler created this revision.Aug 25 2020, 10:37 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 25 2020, 10:37 AM
PeteSteinfeld accepted this revision.Aug 25 2020, 11:38 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 25 2020, 11:38 AM