[Bug fortran/95584] ICE in generic_correspondence, at fortran/interface.c:1260
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95584 markeggleston at gcc dot gnu.org changed: What|Removed |Added CC||markeggleston at gcc dot gnu.org Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from markeggleston at gcc dot gnu.org --- committed to master, although the problem exists with gcc-10, 9 and 8 it isn't being backported. (https://gcc.gnu.org/pipermail/fortran/2020-June/054659.html)
[Bug fortran/95584] ICE in generic_correspondence, at fortran/interface.c:1260
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95584 --- Comment #2 from CVS Commits --- The master branch has been updated by Mark Eggleston : https://gcc.gnu.org/g:8f8ea4a47f3ab0b44b2bbf1c77db6111325d4841 commit r11-1777-g8f8ea4a47f3ab0b44b2bbf1c77db6111325d4841 Author: Mark Eggleston Date: Thu Jun 25 05:16:50 2020 +0100 Fortran : ICE in generic_correspondence PR95584 Output an error for ambiguous interfaces in generic interface instead of ICE. 2020-07-02 Steven G. Kargl gcc/fortran/ PR fortran/95584 * interface.c (generic_correspondence): Only use the pointer to a symbol if exists. 2020-07-02 Mark Eggleston gcc/testsuite/ PR fortran/95584 * gfortran.dg/pr95584.f90: New test.
[Bug fortran/95584] ICE in generic_correspondence, at fortran/interface.c:1260
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95584 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed||2020-06-08
[Bug fortran/95584] ICE in generic_correspondence, at fortran/interface.c:1260
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95584 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC||kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- Index: gcc/fortran/interface.c === --- gcc/fortran/interface.c (revision 280157) +++ gcc/fortran/interface.c (working copy) @@ -1257,7 +1257,7 @@ generic_correspondence (gfc_formal_arglist *f1, gfc_fo while (f1) { - if (f1->sym->attr.optional) + if (!f1->sym || f1->sym->attr.optional) goto next; if (p1 && strcmp (f1->sym->name, p1) == 0)