[Regression, patch][Fortran] ICE in gfc_typenode_for_spec PR93603

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Regression, patch][Fortran] ICE in gfc_typenode_for_spec PR93603

Mark Eggleston
Please find attached fix for PR fortran/93603.

gcc/fortran/ChangeLog

     Steven G. Kargl  <[hidden email]>

     PR fortran/93603
     * match.c (gfc_match_associate) : If target expression
     has the type BT_BOZ output an error and goto
     assocListError.

gcc/testsuite/ChangeLog

     Mark Eggleston  <[hidden email]>

     PR fortran/93603
     * gfortran.dg/pr93603.f90 : New test.

Tested using make with check-fortran on master at:

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

OK to commit?

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


0001-Fortran-ICE-in-gfc_typenode_for_spec-PR93603.patch (1K) Download Attachment