[all-commits] [llvm/llvm-project] 351b42: [flang] Fix folding of character array kind conver...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 8 11:38:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 351b42a2fd33e60daeb01e7a9c9e1aeaa9fc9365
https://github.com/llvm/llvm-project/commit/351b42a2fd33e60daeb01e7a9c9e1aeaa9fc9365
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M flang/lib/Evaluate/fold-implementation.h
A flang/test/Evaluate/folding31.f90
Log Message:
-----------
[flang] Fix folding of character array kind conversion
The folding of conversions of character arrays from one kind to
another was not preserving the value of the character length expression
on the intermediate array constructor, causing spurious errors
when defining named constant arrays of one kind of character with
arrays of another kind.
Fixes llvm-test-suite/Fortran/gfortran/regression/widechar_10.f90.
Differential Revision: https://reviews.llvm.org/D157340
More information about the All-commits
mailing list