[flang-commits] [PATCH] D145740: [flang] Fix crash in folding TRANSFER() with MOLD=substring
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Mar 9 16:26:01 PST 2023
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
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.
https://reviews.llvm.org/D145740
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145740.503965.patch
Type: text/x-patch
Size: 8773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230310/16f19775/attachment-0001.bin>
More information about the flang-commits
mailing list