This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2008 07:32:53 -0000
- Subject: [Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram
- References: <bug-37583-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dominiq at lps dot ens dot fr 2008-09-20 07:32 -------
With the patch in comment #3, I get
FAIL: gfortran.dg/entry_1.f90 -O0 (test for excess errors)
...
FAIL: gfortran.dg/entry_1.f90 -Os (test for excess errors)
The failure is:
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/entry_1.f90:16.18:
call indirectb (bar)
1
Error: Reference to ENTRY 'bar' at (1) is recursive, but procedure 'foo' is not
declared as RECURSIVE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37583