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: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2008 08:05:51 -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 #10 from pault at gcc dot gnu dot org 2008-09-24 08:05 -------
Subject: Bug 37583
Author: pault
Date: Wed Sep 24 08:04:26 2008
New Revision: 140626
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140626
Log:
2008-09-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37583
* decl.c (scalarize_intrinsic_call): Both subroutines and
functions can give a true for get_proc_mame's last argument so
remove the &&gfc_current_ns->proc_name->attr.function.
resolve.c (resolve_actual_arglist): Add check for recursion by
reference to procedure as actual argument.
2008-09-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37583
* gfortran.dg/entry_18.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/entry_18.f90
Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/decl.c
branches/gcc-4_3-branch/gcc/fortran/resolve.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37583