[all-commits] [llvm/llvm-project] 49cb15: [flang][hlfir] Cast actual cst len character to st...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Oct 10 02:22:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49cb1595c1b3ae1de3684fea6148363c15bae12a
https://github.com/llvm/llvm-project/commit/49cb1595c1b3ae1de3684fea6148363c15bae12a
Author: jeanPerier <jperier at nvidia.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/HLFIR/statement-functions.f90
Log Message:
-----------
[flang][hlfir] Cast actual cst len character to stmt func dummy type (#68598)
When calling a statement function with a character actual argument with
a constant length mismatching the dummy length, HLFIR lowering created
an hlfir.declare with the actual argument length for the dummy, causing
bugs when lowering the statement function expression.
Ensure character dummies are always cast to the dummy type when lowering
dummy declarations.
More information about the All-commits
mailing list