When a substring appears as the MOLD= argument to TRANSFER(),
it's possible for the compiler to assert if it can't figure
out a constant length for the substring. Fix.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D145740
[flang] Fix crash in folding TRANSFER() with MOLD=substring ClosedPublic Authored by klausler on Mar 9 2023, 4:25 PM.
Details Summary When a substring appears as the MOLD= argument to TRANSFER(),
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 10 2023, 6:19 AM Closed by commit rGe6be8da14e92: [flang] Fix crash in folding TRANSFER() with MOLD=substring (authored by klausler). · Explain WhyMar 10 2023, 8:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504161 flang/include/flang/Evaluate/initial-image.h
flang/include/flang/Evaluate/type.h
flang/lib/Evaluate/fold.cpp
flang/lib/Evaluate/initial-image.cpp
flang/lib/Evaluate/type.cpp
flang/lib/Semantics/data-to-inits.cpp
flang/test/Evaluate/fold-transfer.f90
|