[PATCH, FORTRAN] ICE in gfc_conv_array_constructor_expr PR93497
Please find attached for PR93497. This patch was posted as a comment to
the PR, I've checked it added a test case. It has the side affect of
changing the errors for three other test cases which have modified
The commit message is as follows:
fortran : ICE in gfc_conv_array_constructor_expr PR93497
Invalid expressions, such as those involving array constructors,
used for the length of character types will cause an ICE.
* gfortran.dg/pr88025.f90: Change in wording of error.
* gfortran.dg/pr93497.f90: New test.
* gfortran.dg/pr93714_1.f90: Change in wording of errors.
* gfortran.dg/pr93714_2.f90: Change in wording of errors.
Note: the dates will be updated as necessary when the patch is committed.
Tested using make check-fortran on x86_64 for branches master,
releases/gcc-8, releases/gcc-9 and releases/gcc-10.
OK to commit to master and to backport to releases/gcc-8, releases/gcc-9