https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87644
Fritz Reese <foreese at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |7.1.0, 7.2.0, 7.3.0, 8.1.0, | |8.2.0, 8.3.0 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Known to work| |10.0, 8.4.0, 9.1.0, 9.2.0, | |9.3.0 --- Comment #7 from Fritz Reese <foreese at gcc dot gnu.org> --- This ICE appears to have been fixed between gcc 8.3.0 and 8.4.0, and is fixed for all gcc 9s and 10s. I don't know exactly which commit fixed this, but it's possible the fix may be due to: commit 9a8c5d2d7d4ce515a961f19f8012f165044ebbe8 Author: Thomas Koenig <tkoe...@gcc.gnu.org> Date: Sun Mar 10 10:28:14 2019 +0000 re PR fortran/87734 (ICE in is_illegal_recursion check for character len= pa rameter) 2019-03-10 Thomas Koenig <tkoe...@gcc.gnu.org> Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/87734 Backort from trunk * symbol.c (gfc_add_procedure): Only throw an error if the procedure has not been declared either PUBLIC or PRIVATE. * resolve.c (is_illegal_recursion): Remove an assert(). 2019-03-10 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/87734 Backport from trunk * gfortran.dg/public_private_module_10.f90: New test. Co-Authored-By: Steven G. Kargl <ka...@gcc.gnu.org> From-SVN: r269548