https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95689
--- Comment #4 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:62c0c0ea7bfb6f8f6b8d767b05120cafb6823da6 commit r11-1567-g62c0c0ea7bfb6f8f6b8d767b05120cafb6823da6 Author: Harald Anlauf <anl...@gmx.de> Date: Sat Jun 20 16:09:45 2020 +0200 PR fortran/95689 - ICE in check_sym_interfaces, at fortran/interface.c:2015 With submodules, name mangling of interfaces may result in long internal symbols overflowing an internal buffer. We now check that we do not exceed the enlarged buffer size. gcc/fortran/ PR fortran/95689 * interface.c (check_sym_interfaces): Enlarge temporary buffer, and add check on length on mangled name to prevent overflow.