PR fortran/95827 - Buffer overflows with submodules and coarrays
authorHarald Anlauf <anlauf@gmx.de>
Wed, 24 Jun 2020 19:03:47 +0000 (21:03 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 24 Jun 2020 19:03:47 +0000 (21:03 +0200)
commita16d0924f18046704ef9a4b6d9593718594677f1
tree92e77d79d3d32e20bf4026d9d4a3cb9a3bbaf245
parentc78907d514d65483c7ddfb4cb1f5c57f23da73d9
PR fortran/95827 - Buffer overflows with submodules and coarrays

With submodules and coarrays, name mangling results in long internal
symbols.  Enlarge internal buffer.

gcc/fortran/
PR fortran/95827
* iresolve.c (gfc_get_string): Enlarge internal buffer used in
generating the mangled name.
gcc/fortran/iresolve.c
gcc/testsuite/gfortran.dg/pr95827.f90 [new file with mode: 0644]