[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
Wed Jun 17 19:47:29 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95088
--- Comment #4 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:55838f7fbd6e0131c2cc38e0eb903551c7fd2401
commit r10-8316-g55838f7fbd6e0131c2cc38e0eb903551c7fd2401
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.
(cherry picked from commit 3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd)
More information about the Gcc-bugs
mailing list