[PATCH] Fortran: SIZE optional DIM argument having OPTIONAL+VALUE attributes [PR113245]
Jerry D
jvdelisle2@gmail.com
Mon Jan 8 17:26:07 GMT 2024
On 1/7/24 1:34 PM, Harald Anlauf wrote:
> Dear all,
>
> the attached, actually rather obvious patch fixes an issue when
> an optional dummy with the value attribute was passed as DIM
> argument to the SIZE intrinsic. Instead of some hand-crafted,
> incomplete presence check for the argument, it makes more sense
> to rely on gfc_conv_expr_present().
>
> Regtested on x86_64-pc-linux-gnu. OK for mainline?
>
> Thanks,
> Harald
>
Looks OK, thanks, Jerry
More information about the Fortran
mailing list