[all-commits] [llvm/llvm-project] 1ac31a: [flang][runtime] Fix padding in CHARACTER(4) assig...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Apr 25 00:06:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ac31a0bfa285c403555f8251a8885e817295ef3
https://github.com/llvm/llvm-project/commit/1ac31a0bfa285c403555f8251a8885e817295ef3
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M flang/runtime/assign.cpp
Log Message:
-----------
[flang][runtime] Fix padding in CHARACTER(4) assignments.
One piece of pointer arithmetic was adding the number of bytes instead
of the number of characters. This caused failures in CHARACTER(KIND>1)
that required padding.
This was caught using HLFIR that currently uses the runtime for array
assignment where the current lowering does everything inline.
Reviewed By: vzakhari, klausler
Differential Revision: https://reviews.llvm.org/D149062
More information about the All-commits
mailing list