[Regression, patch][Fortran] ICE: Invalid expression in gfc_element_size PR93601

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


Please find attached a fix for PR93601.

gcc/fortran/ChangeLogs

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

     PR fortran/93601
     * match.c (gfc_match_assignment) : Reject assignment if
     the lhs stype is BT_CLASS and the rhs type is BT_BOZ.

gcc/testsuite/ChangeLogs

     Mark Eggleston  <mark.eggleston@codethink.com>

     PR fortran/93601
     * gfortran.dg/pr93601.f90 : New test.

Test using make with check-fortran on master at

https://gcc.gnu.org/g:f82617f229b336d856c18313339b14657e05c129

OK to commit?

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-ICE-Invalid-expression-in-gfc_element_size-P.patch
Type: text/x-patch
Size: 1958 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20200217/de87d7db/attachment.bin>


More information about the Fortran mailing list