[Bug fortran/95687] ICE in get_unique_hashed_string, at fortran/class.c:508
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 22 19:30:16 GMT 2020
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
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:f067cc55d382c256308f85575bca3e42fe215541
commit r10-8339-gf067cc55d382c256308f85575bca3e42fe215541
Author: Harald Anlauf <anlauf@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)
More information about the Gcc-bugs
mailing list