symbol.c
127 KB
-
PR fortran/95880 - ICE in gfc_add_type, at fortran/symbol.c:2030 · e3942f91
The fix for PR39695 did not properly distinguish between procedure names and other symbols names in errors emitted for invalid code. Fix that. gcc/fortran/ PR fortran/95880 * symbol.c (gfc_add_type): If sym->ns->proc_name is set, use it, otherwise fall back to sym->name. (cherry picked from commit f3a8f66a83f8c94f6fbb0233cefba8032f2e4876)
Harald Anlauf committed