[Bug fortran/95826] ICE in gfc_match_decl_type_spec, at fortran/decl.c:4290
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 25 18:32:34 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95826
--- 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:35a335a159216548fc77263ac5df71ff29d3f448
commit r11-1666-g35a335a159216548fc77263ac5df71ff29d3f448
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu Jun 25 20:32:13 2020 +0200
PR fortran/95826 - Buffer overflows with PDTs and long symbols
With PDTs (parameterized derived types), name mangling results in variably
long internal symbols. Use a dynamic buffer instead of a fixed-size one.
gcc/fortran/
PR fortran/95826
* decl.c (gfc_match_decl_type_spec): Replace a fixed size
buffer by a pointer and reallocate if necessary.
More information about the Gcc-bugs
mailing list