PR fortran/95090 - ICE: identifier overflow
authorHarald Anlauf <anlauf@gmx.de>
Wed, 27 May 2020 19:20:24 +0000 (21:20 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 27 May 2020 19:20:24 +0000 (21:20 +0200)
commitc949ec9c4e88d2ff6dbd5b179abddf3703129577
tree750dea8cbb687de15f40272d727eae1e5eeec402
parent7d014acc1ea263df7ed44aa6cb7f75bb8e512aed
PR fortran/95090 - ICE: identifier overflow

For long module name, derive type and component name, the generated
name-mangled symbol did not fit into a buffer when coarrays were
enabled.  Provide sufficiently large temporary.

2020-05-27  Harald Anlauf  <anlauf@gmx.de>

gcc/fortran/
PR fortran/95090
* iresolve.c (gfc_get_string): Enlarge temporary for
name-mangling.

gcc/testsuite/
PR fortran/95090
* gfortran.dg/pr95090.f90: New test.
gcc/fortran/iresolve.c
gcc/testsuite/gfortran.dg/pr95090.f90 [new file with mode: 0644]