[flang] Fix issue 392, improve the error message when a DO loop is
authorPeter Steinfeld <psteinfeld@nvidia.com>
Wed, 10 Apr 2019 16:45:41 +0000 (09:45 -0700)
committerPeter Steinfeld <psteinfeld@nvidia.com>
Wed, 10 Apr 2019 16:50:27 +0000 (09:50 -0700)
commit259c540191b496f03bb59d583189e0a20e2bb66b
tree49ec79c57eae6ae3bf2013ea3c8b0287e2f0ce73
parentf02d8d3aed408088d8f9959888ae260d639f2ec4
[flang] Fix issue 392, improve the error message when a DO loop is
terminated by a statement other than END DO or CONTINUE.

Original-commit: flang-compiler/f18@0a9280eab16394b578d8b1eae76e3a679b697770
Reviewed-on: https://github.com/flang-compiler/f18/pull/398
Tree-same-pre-rewrite: false
flang/lib/semantics/resolve-labels.cc
flang/test/semantics/canondo07.f90 [new file with mode: 0644]