[flang] Fix implied DO folding with negative strides, add test
authorpeter klausler <pklausler@nvidia.com>
Fri, 5 Apr 2019 19:54:19 +0000 (12:54 -0700)
committerpeter klausler <pklausler@nvidia.com>
Fri, 5 Apr 2019 19:58:19 +0000 (12:58 -0700)
commit5c3197fa0bdc505e254859e40d02524b1af3a79c
treece4688cacaf747bea562ae428ab63db2a832c4e3
parentf0a19461ea1366bd9cf80838fec88dd51a05dbea
[flang] Fix implied DO folding with negative strides, add test

Original-commit: flang-compiler/f18@2e14b76041c79f5861fb2f912a93572130e08d17
Reviewed-on: https://github.com/flang-compiler/f18/pull/386
Tree-same-pre-rewrite: false
flang/lib/evaluate/fold.cc
flang/test/semantics/CMakeLists.txt
flang/test/semantics/modfile25.f90 [new file with mode: 0644]