https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95687
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:f067cc55d382c256308f85575bca3e42fe215541 commit r10-8339-gf067cc55d382c256308f85575bca3e42fe215541 Author: Harald Anlauf <anl...@gmx.de> Date: Sat Jun 20 16:11:48 2020 +0200 PR fortran/95687 - ICE in get_unique_hashed_string, at fortran/class.c:508 With submodules and PDTs, name mangling of interfaces may result in long internal symbols overflowing a previously static internal buffer. We now set the buffer size dynamically. gcc/fortran/ PR fortran/95687 * class.c (get_unique_type_string): Return a string with dynamic length. (get_unique_hashed_string, gfc_hash_value): Use dynamic result from get_unique_type_string instead of static buffer. (cherry picked from commit ac932bfcd21e9523fa2b880ae8138aef79da7f54)