[Regression, patch][Fortran] ICE in gfc_conv_constant_to_tree PR93604

Mark Eggleston mark.eggleston@codethink.co.uk
Mon Feb 17 11:26:00 GMT 2020


Please find attached patch for PR93604.

gcc/fortran/ChangeLog

     Steven G. Kargl  <kargl@gcc.gnu.org>

     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

     Mark Eggleston  <mark.eggleston@codethink.com>

     PR fortran/93604
     * gfortran.dg/pr93604.f90 : New test.

OK to commit?

-- 
https://www.codethink.co.uk/privacy.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-ICE-in-gfc_conv_constant_to_tree-PR93604.patch
Type: text/x-patch
Size: 2319 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20200217/be726483/attachment.bin>


More information about the Fortran mailing list