This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66494] New: ICE on using same name for embedded subroutine
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Jun 2015 16:27:20 +0000
- Subject: [Bug fortran/66494] New: ICE on using same name for embedded subroutine
- Auto-submitted: auto-generated
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.fortran@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