https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93603

--- 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:8f55a0eec910dd02992f4caca083048d91c0b2e1

commit r10-6692-g8f55a0eec910dd02992f4caca083048d91c0b2e1
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Tue Feb 18 12:23:20 2020 +0000

    [Fortran] ICE in gfc_typenode_for_spec PR93603

    Associating a symbol with a BOZ constant caused an ICE.  Output
    an error message as an association target cannot be a BOZ
    constant.

    Original patch provided by Steven G. Kargl  <ka...@gcc.gnu.org>.

    gcc/fortran/ChangeLog

        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

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

Reply via email to