[patch. fortran] PR102595 ICE in var_element, at fortran/decl.c
Jerry D
jvdelisle2@gmail.com
Sat Jan 21 05:16:40 GMT 2023
On 1/20/23 5:46 PM, Jerry D wrote:
> A PARAMETER value is not allowed in a DATA statement, similar to an
> EQUIVALENCE.
>
> The check for this was in gfc_assign_data_value() in data.cc which turns
> out to be too late when trying to assign a zero sized array.
Correction, the chunk in data.cc must remain for one test case. I
spotted this after rerunning check-fortran for several variations.
Regards,
Jerry
More information about the Gcc-patches
mailing list