[Bug fortran/95880] [9/10/11 Regression] ICE in gfc_add_type, at fortran/symbol.c:2030 since r11-524-geb069ae8819c3a84
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 28 11:53:31 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95880
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:f3a8f66a83f8c94f6fbb0233cefba8032f2e4876
commit r11-1693-gf3a8f66a83f8c94f6fbb0233cefba8032f2e4876
Author: Harald Anlauf <anlauf@gmx.de>
Date: Sun Jun 28 13:52:09 2020 +0200
PR fortran/95880 - ICE in gfc_add_type, at fortran/symbol.c:2030
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.
More information about the Gcc-bugs
mailing list