Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Implementation of semantic checks C1135, C1167, and C1168
These constraints state that CYCLE and EXIT statements should not leave DO CONCURRENT, CRITICAL, or CHANGE TEAM constructs. I added checking code to check-do.cc and removed some superseded code from check-do.cc and semantics.cc. The new code uses the construct stack implemented in my previous pull request. I also added a new test -- dosemantics11.f90 and modified the tests dosemantics10.f90, doconcurrent05.f90, and doconcurrent06.f90 to adapt to the new error messages. I converted these latter two tests to use test_error.sh since they only reported errors. Original-commit: flang-compiler/f18@b0bea7d Reviewed-on: flang-compiler/f18#756 Tree-same-pre-rewrite: false
- Loading branch information
1 parent
505b214
commit ab12314
Showing
9 changed files
with
538 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.