[flang] Implement semantic checks for DEALLOCATE statements.
authorSteve Scalpone <sscalpone@nvidia.com>
Thu, 11 Apr 2019 05:17:44 +0000 (22:17 -0700)
committerSteve Scalpone <sscalpone@nvidia.com>
Thu, 11 Apr 2019 05:17:44 +0000 (22:17 -0700)
commit70285af0adb0be8a94c30b697735d6bfd34ba9ee
tree5433094085ae11c831773c4d4421c7a1682ddefa
parent28329e92b61ad96b2278097752b510efd6b801ae
[flang] Implement semantic checks for DEALLOCATE statements.
The parser checks for duplicate dealloc-opts and expr
analysis checks that dealloc-opts are the right type.

Original-commit: flang-compiler/f18@1ade7f66177c8d7698b1e9da12904352c520e9d1
Reviewed-on: https://github.com/flang-compiler/f18/pull/401
Tree-same-pre-rewrite: false
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/check-deallocate.cc [new file with mode: 0644]
flang/lib/semantics/check-deallocate.h [new file with mode: 0644]
flang/lib/semantics/semantics.cc
flang/lib/semantics/tools.cc
flang/lib/semantics/tools.h
flang/test/semantics/CMakeLists.txt
flang/test/semantics/deallocate01.f90 [new file with mode: 0644]
flang/test/semantics/deallocate04.f90 [new file with mode: 0644]