[PATCH] Fortran: a C interoperable function cannot have the CLASS attribute [PR95375]
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Dec 20 21:10:55 GMT 2022
On Tue, Dec 20, 2022 at 09:40:23PM +0100, Harald Anlauf via Fortran wrote:
>
> we obviously forgot to extend the C interoperability check of the
> type of function results to CLASS variables and thus did not reject
> them. Wrong code could lead to an ICE, see testcase by Gerhard.
>
> Regtested on x86_64-pc-linux-gnu. OK for mainline?
>
Yes. Thanks for the patch.
--
Steve
More information about the Fortran
mailing list