[flang-commits] [PATCH] D86557: [flang] Check that various variables referenced in I/O statements may be defined
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Aug 25 10:37:36 PDT 2020
klausler created this revision.
klausler added reviewers: sscalpone, PeteSteinfeld.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
klausler requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86557
Files:
flang/lib/Semantics/check-io.cpp
flang/lib/Semantics/check-io.h
flang/test/Semantics/deallocate05.f90
flang/test/Semantics/io01.f90
flang/test/Semantics/io02.f90
flang/test/Semantics/io03.f90
flang/test/Semantics/io04.f90
flang/test/Semantics/io05.f90
flang/test/Semantics/io06.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86557.287708.patch
Type: text/x-patch
Size: 14640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200825/39cc930d/attachment-0001.bin>
More information about the flang-commits
mailing list