This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37583] ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]