[Bug fortran/101084] [10/11/12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1124

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 28 19:09:33 GMT 2021


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:7277ac60e0def3fe6bf76fee239701dbaf3d4e0e

commit r10-10010-g7277ac60e0def3fe6bf76fee239701dbaf3d4e0e
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Sun Jul 18 21:35:53 2021 +0200

    Fortran: reject FORMAT tag of unknown type.

    gcc/fortran/ChangeLog:

            PR fortran/101084
            * io.c (resolve_tag_format): Extend FORMAT check to unknown type.

    gcc/testsuite/ChangeLog:

            PR fortran/101084
            * gfortran.dg/fmt_nonchar_3.f90: New test.

    (cherry picked from commit f527b8233498b40c8a2c616b82265f2e58aba42a)


More information about the Gcc-bugs mailing list