On Thu, Jul 27, 2023 at 09:39:53PM +0200, Harald Anlauf via Fortran wrote: > Dear all, > > when passing a character actual argument to an assumed-type dummy > (TYPE(*)), we should not pass the character length for that argument, > as otherwise other hidden arguments that are passed as part of the > gfortran ABI will not be interpreted correctly. This is in line > with the current way the procedure decl is generated. > > The attached patch fixes the caller and clarifies the behavior > in the documentation. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? >
OK. Patch looks small enough that if you are so inclined to backport that's ok as well. Thanks for the quick response. -- Steve