[flang] Clause 12 semantics -- Check all constraints not otherwise checked (flang...
authorvdonaldson <37090318+vdonaldson@users.noreply.github.com>
Tue, 30 Apr 2019 18:28:16 +0000 (11:28 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2019 18:28:16 +0000 (11:28 -0700)
commit2741d016c6df057e4749061426bac11f55a267c1
tree2fbdbeae0032b2b5aa462ce3cd0b900ef68449a8
parent13caf04846d5fefae600f46d204883e42b0ded24
[flang] Clause 12 semantics -- Check all constraints not otherwise checked (flang-compiler/f18#427)

* Clause 12 semantics

Check all constraints not otherwise checked during parsing or label scope
validation, except for C1201, C1231, and C1233-5.  Obvious program
requirements are also checked, except for 12.6.2.2 constant format string
validation.

Original-commit: flang-compiler/f18@e4ec3436184935c0c09f0b61c01f3cb86d84d0b3
Reviewed-on: https://github.com/flang-compiler/f18/pull/427
13 files changed:
flang/.gitignore
flang/lib/common/Fortran.h
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-io.cc [new file with mode: 0644]
flang/lib/semantics/check-io.h [new file with mode: 0644]
flang/lib/semantics/semantics.cc
flang/test/semantics/CMakeLists.txt
flang/test/semantics/io01.f90 [new file with mode: 0644]
flang/test/semantics/io02.f90 [new file with mode: 0644]
flang/test/semantics/io03.f90 [new file with mode: 0644]
flang/test/semantics/io04.f90 [new file with mode: 0644]
flang/test/semantics/io05.f90 [new file with mode: 0644]
flang/test/semantics/io06.f90 [new file with mode: 0644]