[PATCH] Fortran: fix rank/shape check in interface checking [PR124567]
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Mar 24 21:58:31 GMT 2026
Hi Harald,
This looks good to me but for one niggle: Does the error in the first
chunk get tested somewhere else in the testsuite? Perhaps I have not
done enough investigation of the patch when applied?
Thanks for the patch.
Cheers
Paul
On Tue, 24 Mar 2026 at 21:16, Harald Anlauf <anlauf@gmx.de> wrote:
>
> Dear all,
>
> the attached patch fixes the issue reported by Salvatore Filippone.
>
> As Tobias already explained, we have the situation that resolution
> does not always resolve the ambiguity between deferred shape and
> assumed shape. The attached patch solves this by splitting the
> shape check into one for rank (to catch true deferred shape cases)
> and shape, the latter making an exception for the described situation.
>
> Regtested on x86_64-pc-linux-gnu. OK for mainline?
>
> Thanks,
> Harald
>
More information about the Fortran
mailing list