https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95091
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:abfe42c1fb66a534290bd0a808c2d90842ee848b commit r9-8665-gabfe42c1fb66a534290bd0a808c2d90842ee848b Author: Harald Anlauf <anl...@gmx.de> Date: Sun Jun 7 14:47:24 2020 +0200 PR fortran/95091 - Buffer overflows with submodules and long symbols With submodules, name mangling results in long internal symbols. This requires adjustment of the sizes of temporaries to avoid buffer overflows. 2020-06-07 Harald Anlauf <anl...@gmx.de> gcc/fortran/ PR fortran/95091 * class.c (get_unique_type_string, gfc_hash_value): Enlarge buffers, and check whether the strings returned by get_unique_type_string() fit. (cherry picked from commit b342cfd648e6658363c7c8fef83af8f59dba1795)