PR fortran/95687 - ICE in get_unique_hashed_string, at fortran/class.c:508
With submodules and PDTs, name mangling of interfaces may result in long internal symbols overflowing a previously static internal buffer. We now set the buffer size dynamically. gcc/fortran/ PR fortran/95687 * class.c (get_unique_type_string): Return a string with dynamic length. (get_unique_hashed_string, gfc_hash_value): Use dynamic result from get_unique_type_string instead of static buffer. (cherry picked from commit ac932bfcd21e9523fa2b880ae8138aef79da7f54)
Showing
gcc/testsuite/gfortran.dg/pr95687.f90
0 → 100644
Please
register
or
sign in
to comment