[flang] Prevent possible infinte loop in parameter folding
authorJean Perier <jperier@nvidia.com>
Wed, 22 May 2019 15:26:50 +0000 (08:26 -0700)
committerJean Perier <jperier@nvidia.com>
Wed, 22 May 2019 15:26:50 +0000 (08:26 -0700)
commit15630a4ddd6507bf0a01d339368020f4e3c71a1b
treeefa95009276ecb608b19575a4018ad685957ce05
parent64a13fda3554f7dc62d7b77e048ede8248faa457
[flang] Prevent possible infinte loop in parameter folding

Original-commit: flang-compiler/f18@38360930ce5b63987bc17fa235016743b90168ae
Reviewed-on: https://github.com/flang-compiler/f18/pull/469
Tree-same-pre-rewrite: false
flang/lib/evaluate/fold.cc