This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement
ClosedPublic

Authored by klausler on Oct 1 2020, 9:35 AM.

Details

Summary

Add checking to I/O statement APIs to catch cases where the formatted
I/O data item transfer routines like OutputInteger64 are being
incorrectly used for unformatted I/O, which should use the
unformatted block or descriptor-based data item interfaces.

Diff Detail

Event Timeline

klausler created this revision.Oct 1 2020, 9:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Oct 1 2020, 9:35 AM
PeteSteinfeld accepted this revision.Oct 1 2020, 9:48 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Oct 1 2020, 9:48 AM