[Bug fortran/68318] New: ICE on duplicate entry declarations
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Nov 12 17:53:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68318
Bug ID: 68318
Summary: ICE on duplicate entry declarations
Product: gcc
Version: 5.2.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: ---
With duplicate entry declarations in scope :
$ cat z1.f90
module m
implicit none
contains
subroutine s1
entry e
end
subroutine s2
entry e
end
end module
$ gfortran -g -O0 -Wall -fcheck=all -c z1.f90
z1.f90:8.10:
entry e
1
z1.f90:5.10:
entry e
2
Error: Procedure 'e' at (1) is already defined at (2)
f951: internal compiler error: in gfc_release_symbol, at fortran/symbol.c:2591
---
$ cat z7.f90
module m1
implicit none
contains
subroutine s1
entry e
end
end module
module m2
use m1
implicit none
contains
subroutine s2
entry e
end
end module
$ gfortran -g -O0 -Wall -fcheck=all -c z7.f90
z7.f90:14.10:
entry e
1
z7.f90:10.7:
use m1
2
Error: Procedure 'e' at (1) is already defined at (2)
f951: internal compiler error: in gfc_release_symbol, at fortran/symbol.c:2591
More information about the Gcc-bugs
mailing list