[all-commits] [llvm/llvm-project] e6be8d: [flang] Fix crash in folding TRANSFER() with MOLD=...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Mar 10 08:40:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6be8da14e9287455fe3e162c563ec231771d117
https://github.com/llvm/llvm-project/commit/e6be8da14e9287455fe3e162c563ec231771d117
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M flang/include/flang/Evaluate/initial-image.h
M flang/include/flang/Evaluate/type.h
M flang/lib/Evaluate/fold.cpp
M flang/lib/Evaluate/initial-image.cpp
M flang/lib/Evaluate/type.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/test/Evaluate/fold-transfer.f90
Log Message:
-----------
[flang] Fix crash in folding TRANSFER() with MOLD=substring
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.
Differential Revision: https://reviews.llvm.org/D145740
More information about the All-commits
mailing list