https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101084
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:f527b8233498b40c8a2c616b82265f2e58aba42a commit r12-2386-gf527b8233498b40c8a2c616b82265f2e58aba42a Author: Harald Anlauf <anl...@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.