[flang] Initialize PRINT semantics. Fixes flang-compiler/f18#516 (flang-compiler...
authorvdonaldson <37090318+vdonaldson@users.noreply.github.com>
Wed, 26 Jun 2019 22:46:48 +0000 (15:46 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 22:46:48 +0000 (15:46 -0700)
commit3b1412933703022311ee50a170567293358e2b80
treeec9fdc42dfb80fcf958bc44609bc116c0967781b
parent6e9658daabc3d66aab79462301f7ee4e9930d3bf
[flang] Initialize PRINT semantics.  Fixes flang-compiler/f18#516 (flang-compiler/f18#528)

There are no Clause 12 constraints to check for PRINT, but PRINT does share
FMT specifier processing with READ and WRITE.  To avoid interactions between
these I/O statements, reset IoChecker values for PRINT.

Original-commit: flang-compiler/f18@6a547667187e2832c8c162d4ee02835ff4c190b4
Reviewed-on: https://github.com/flang-compiler/f18/pull/528
flang/lib/semantics/check-io.h
flang/test/semantics/io03.f90