[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
Fri Jun 26 19:07:39 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95826
--- 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:32613b6af830f12ee5b6ef97edd782666f47cbb8
commit r10-8375-g32613b6af830f12ee5b6ef97edd782666f47cbb8
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.
(cherry picked from commit 35a335a159216548fc77263ac5df71ff29d3f448)
More information about the Gcc-bugs
mailing list