https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93604
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Mark Eggleston <markeggles...@gcc.gnu.org>: https://gcc.gnu.org/g:c77b6f95e014ad1f6654683ff56f9508fe7f268d commit r10-6816-gc77b6f95e014ad1f6654683ff56f9508fe7f268d Author: Mark Eggleston <markeggles...@gcc.gnu.org> Date: Mon Feb 24 14:33:35 2020 +0000 fortran: ICE in gfc_conv_constant_to_tree PR93604 Using a BOZ constant in a structure constructor in a data statement resulted in an ICE. Output a "BOZ literal constant cannot appear in a structure constructor" error message instead. Original patch provided by Steven G. Kargl <ka...@gcc.gnu.org>. Test case added later. gcc/fortran/ChangeLog PR fortran/93604 * decl.c (gfc_match_data) : Check whether the data expression is a derived type and is a constructor. If a BOZ constant is encountered in the constructor output an error and return MATCH_ERROR. gcc/testsuite/ChangeLog PR fortran/93604 * gfortran.dg/pr93604.f90 : New test.