[PATCH] PR fortran/101536 - ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7324
Harald Anlauf
anlauf@gmx.de
Wed Jul 21 20:22:59 GMT 2021
Another one of Gerhard's infamous testcases. We did not properly detect
and reject array elements of type CLASS as argument to an intrinsic when
it should be an array.
Regtested on x86_64-pc-linux-gnu. OK for mainline / 11-branch when it
reopens?
Thanks,
Harald
Fortran: extend check for array arguments and reject CLASS array elements.
gcc/fortran/ChangeLog:
PR fortran/101536
* check.c (array_check): Array elements of CLASS type are not
arrays.
gcc/testsuite/ChangeLog:
PR fortran/101536
* gfortran.dg/pr101536.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr101536.patch
Type: text/x-patch
Size: 1194 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210721/74670817/attachment.bin>
More information about the Gcc-patches
mailing list