[PATCH] Fortran: passing of derived type to VALUE,OPTIONAL dummy argument [PR118080]
Harald Anlauf
anlauf@gmx.de
Fri Feb 14 19:19:17 GMT 2025
Dear all,
the attached patch fixes inconsistent handling of passing derived type
actual arguments to scalar dummies with VALUE,OPTIONAL attribute.
As suggested by Tobias, we should consistently pass a hidden boolean
flag that indicates the presence or absence of the actual, similar to
the case of intrinsic types. For more details see the attached.
Regtested on x86_64-pc-linux-gnu. OK for mainline?
Thanks,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr118080.diff
Type: text/x-patch
Size: 17006 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250214/65e70c9c/attachment-0002.bin>
More information about the Fortran
mailing list