Skip to content
Unverified Commit 49cb1595 authored by jeanPerier's avatar jeanPerier Committed by GitHub
Browse files

[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.
parent 37a8cfb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment