[flang] Allocate semantic checks (second part)
authorJean Perier <jperier@nvidia.com>
Fri, 26 Apr 2019 08:10:04 +0000 (01:10 -0700)
committerJean Perier <jperier@nvidia.com>
Fri, 3 May 2019 07:45:22 +0000 (00:45 -0700)
commitc67710e5ae406f95295cf316e84ea33918f0d32d
tree30a6a37895652ee962a3c1005fd6f77e1fac9bff
parent672aadbfdad07fdd40f49de8100f68ca3d671175
[flang] Allocate semantic checks (second part)
Implement semantic checks and realted tests for constraints:
C937, C938, C939, C940, C941, C942, C945 (second part),
C946, C947, C948, C949 and C950.

Original-commit: flang-compiler/f18@b4965d272b1749d554e3d1388c0a7856591741e8
Tree-same-pre-rewrite: false
14 files changed:
flang/lib/parser/tools.cc
flang/lib/parser/tools.h
flang/lib/semantics/check-allocate.cc
flang/lib/semantics/check-coarray.cc
flang/lib/semantics/tools.cc
flang/lib/semantics/tools.h
flang/test/semantics/CMakeLists.txt
flang/test/semantics/allocate01.f90
flang/test/semantics/allocate06.f90
flang/test/semantics/allocate09.f90 [new file with mode: 0644]
flang/test/semantics/allocate10.f90 [new file with mode: 0644]
flang/test/semantics/allocate11.f90 [new file with mode: 0644]
flang/test/semantics/allocate12.f90 [new file with mode: 0644]
flang/test/semantics/allocate13.f90 [new file with mode: 0644]