llvm-project/flang/test
Valentin Clement 85725a67c7 [Flang][OpenMP] Avoid abort when collapse clause value is negative
Summary:
If the value in the collapse close is negative f18 abort without the correct error message. This PR change the size_t in name resolution to a int64_t and check appropriately for negative or zero before the privatization of induction variable.
The correct error is then catch by the OpenMP structure check.

This diff is migrated from the GitHub pull request https://github.com/flang-compiler/f18/pull/1098

Reviewers: ichoyjx, jdoerfert, sscalpone, DavidTruby

Reviewed By: ichoyjx, sscalpone, DavidTruby

Subscribers: sscalpone, klausler, yaxunl, guansong, llvm-commits

Tags: #llvm, #flang

Differential Revision: https://reviews.llvm.org/D77821
2020-05-14 21:37:25 -04:00
..
Driver [flang] Port all remaining regression tests to lit 2020-03-13 11:58:11 +00:00
Evaluate [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
Fir [flang] Upstream recent work on FIR to llvm-project. 2020-04-27 17:48:57 -07:00
Lower [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
Preprocessing [flang] Added CMakeLists changes, moved config and made test scripts compatible. 2020-03-13 13:54:24 +00:00
Semantics [Flang][OpenMP] Avoid abort when collapse clause value is negative 2020-05-14 21:37:25 -04:00
CMakeLists.txt [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
lit.cfg.py [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
lit.site.cfg.py.in [flang] Fix bug in tests for standalone build 2020-05-05 11:08:23 -07:00