[flang] Fix CHARACTER length folding problem
Do not rewrite LEN(x) or x%len to the expression that specifies the length of x when that length is not a constant expression. Its value may have changed since the value of the expression was first captured in the definition of the object. Reviewed By: tskeith, sscalpone Differential Revision: https://reviews.llvm.org/D83352
parent
22596e7b
Please register or sign in to comment