aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2020-06-14 16:12:47 +0200
committerHarald Anlauf <anlauf@gmx.de>2020-06-14 16:12:47 +0200
commit3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd (patch)
treee2f261c3bf5b56b7bb5006b6d86a83720f37bdf6 /gcc/fortran/dump-parse-tree.c
parent4644e8f15f835a9934a8d289ee08ba4cb46cbfac (diff)
downloadgcc-3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd.zip
gcc-3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd.tar.gz
gcc-3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd.tar.bz2
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.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions