[PATCH] PR fortran/103411 - ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377
Wed Nov 24 21:32:57 GMT 2021
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4313 bytes
Desc: not available
More information about the Gcc-patches