Elemental intrinsic function folding was not taking the lower
bounds of constant array arguments into account; these lower bounds
can be distinct from 1 when named constants appear as arguments.
LLVM bugzilla #48437.
Paths
| Differential D93321
[flang] Fix crash in folding (#48437) ClosedPublic Authored by klausler on Dec 15 2020, 11:01 AM.
Details
Summary Elemental intrinsic function folding was not taking the lower LLVM bugzilla #48437.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 16 2020, 1:03 AM This revision was landed with ongoing or failed builds.Dec 16 2020, 8:31 AM Closed by commit rG07751310580f: [flang] Fix crash in folding (#48437) (authored by klausler). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 312221 flang/include/flang/Evaluate/constant.h
flang/lib/Evaluate/fold-implementation.h
flang/test/Evaluate/folding16.f90
|