[Bug fortran/95091] ICE in gfc_hash_value, at fortran/class.c:538
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 11 14:03:41 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95091
--- Comment #6 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:bf6199ecc9c2dc9f6b5eca3d18ff48b374a8feb9
commit r10-8272-gbf6199ecc9c2dc9f6b5eca3d18ff48b374a8feb9
Author: Harald Anlauf <anlauf@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 <anlauf@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)
More information about the Gcc-bugs
mailing list