[PATCH] Fortran: fix rank/shape check in interface checking [PR124567]
Harald Anlauf
anlauf@gmx.de
Tue Mar 24 21:16:14 GMT 2026
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr124567.diff
Type: text/x-patch
Size: 3917 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260324/3a80a67a/attachment-0003.bin>
More information about the Fortran
mailing list