[PATCH] Fortran: fix IS_CONTIGUOUS for polymorphic dummy arguments [PR114001]

Harald Anlauf anlauf@gmx.de
Tue Mar 12 22:12:22 GMT 2024


Dear all,

here's another small fix: IS_CONTIGUOUS did erroneously always
return .true. for CLASS dummy arguments.  The solution was to
adjust the logic in gfc_is_simply_contiguous to also handle
CLASS symbols.

Regtested on x86_64-pc-linux-gnu.  OK for mainline?

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr114001.diff
Type: text/x-patch
Size: 4185 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20240312/9ae3e315/attachment.bin>


More information about the Fortran mailing list