The shape of an expanded scalar MASK= was incorrect in the template
code that folds FINDLOC/MAXLOC/MINLOC, leading to a vector indexing
crash when a DIM= argument is also present.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D157329
[flang] Fix crash in location reduction folding with DIM= and scalar MASK= ClosedPublic Authored by klausler on Aug 7 2023, 2:13 PM.
Details Summary The shape of an expanded scalar MASK= was incorrect in the template
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 7 2023, 2:40 PM Closed by commit rGca0525fa16a4: [flang] Fix crash in location reduction folding with DIM= and scalar MASK= (authored by klausler). · Explain WhyAug 8 2023, 10:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547944 flang/lib/Evaluate/fold-integer.cpp
flang/test/Evaluate/fold-findloc.f90
|