[PATCH] Fortran: fix check for non-optional arrays passed to elemental
Jerry D
jvdelisle2@gmail.com
Thu Feb 27 18:09:01 GMT 2025
On 2/27/25 7:38 AM, Peter Hill wrote:
> Dear all,
>
> The attached patch fixes an ICE in gfc_resolve_code when passing an
> optional array to an elemental procedure with `-pedantic` enabled.
> PR95446 added the original check, this patch fixes the case where the
> other actual argument is an array literal (or something else other
> than a variable). The ICE is present since 11.1, so this could be
> backported?
>
> Cheers,
> Peter
>
Hi Peter, was there a PR associated with this one?
Jerry
--- snip ---
More information about the Fortran
mailing list