[flang] Issue flang-compiler/f18#992 : Implementing Semantic checks for DATA Stateme...
authorAnchu Rajendran S <59249359+anchu-rajendran@users.noreply.github.com>
Fri, 21 Feb 2020 06:19:14 +0000 (11:49 +0530)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2020 06:19:14 +0000 (22:19 -0800)
commitdf1b4b144e81a1219b9daf9f2aa765bc0beed800
tree862916e5ae5f90e21367ce09d9b02568b6ef1cc3
parentca861fd4946f16f8d993851c6bfafa0fb12b40c3
[flang] Issue flang-compiler/f18#992 :  Implementing Semantic checks for DATA Statement (C874-C887) (flang-compiler/f18#992)

This commit covers Semantic Constraints C882 - C887

C882 : It was partially Implemented. Finished the implementation
and added test case
C884 : Implemented and added test case
C883 : Implementation was there already. Added test case
C885, C886, C887 : Implementation was there already. Added test case for
data-repeat.

Original-commit: flang-compiler/f18@822129736b6b7a96b6ff3ffe810d842ce42e3672
Reviewed-on: https://github.com/flang-compiler/f18/pull/992
flang/include/flang/semantics/expression.h
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-data.cpp [new file with mode: 0644]
flang/lib/semantics/check-data.h [new file with mode: 0644]
flang/lib/semantics/expression.cpp
flang/lib/semantics/resolve-names.cpp
flang/lib/semantics/semantics.cpp
flang/test/semantics/CMakeLists.txt
flang/test/semantics/data01.f90 [new file with mode: 0644]