[Bug fortran/95088] ICE in gfc_build_class_symbol, at fortran/class.c:653
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 14 14:13:11 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95088
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd
commit r11-1298-g3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd
Author: Harald Anlauf <anlauf@gmx.de>
Date: Sun Jun 14 16:12:47 2020 +0200
PR fortran/95088 - Buffer overflows with PDTs, submodules and long symbols
With PDTs (parameterized derived types) and submodules, name mangling
results in variably long internal symbols. Instead of using a fixed-size
intermediate buffer, which is actually not really needed, just use a
pointer to strings.
2020-06-14 Harald Anlauf <anlauf@gmx.de>
gcc/fortran/
PR fortran/95088
* class.c (get_unique_type_string): Replace use of fixed size
buffer by internally passing a pointer to strings.
More information about the Gcc-bugs
mailing list