[PATCH] PR fortran/103411 - ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377
Harald Anlauf
anlauf@gmx.de
Wed Nov 24 21:32:57 GMT 2021
Dear all,
when checking the SOURCE and SHAPE arguments to the RESHAPE
intrinsic, for absent PAD argument we failed to handle the case
when SHAPE was a parameter.
Fortunately, the proper check was already there, and the code
just needs some tweaking, as well as one of the testcases.
Regtested on x86_64-pc-linux-gnu. OK for mainline?
Thanks,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-improve-check-of-arguments-to-the-RESHAPE-in.patch
Type: text/x-patch
Size: 4313 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211124/9df753a9/attachment.bin>
More information about the Gcc-patches
mailing list