https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66494
Bug ID: 66494 Summary: ICE on using same name for embedded subroutine Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- This ambiguous code ... recursive subroutine s call s contains subroutine s end end yields (with gfortran 5.1.1, 4.9.0, 4.8.3 on SUSE Linux 13.2, 64 bit) internal compiler error: in gfc_generate_function_code, at fortran/trans-decl.c:5722 --- Same issue for this reduction ... subroutine s contains subroutine s end end