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/37588] GENERIC type-bound procedure is not resolved



------- Comment #5 from domob at gcc dot gnu dot org  2008-09-23 14:28 -------
Subject: Bug 37588

Author: domob
Date: Tue Sep 23 14:26:47 2008
New Revision: 140594

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140594
Log:
2008-09-23  Daniel Kraft  <d@domob.eu>

        PR fortran/37588
        * gfortran.h (gfc_compare_actual_formal): Removed, made private.
        (gfc_arglist_matches_symbol): New method.
        * interface.c (compare_actual_formal): Made static.
        (gfc_procedure_use): Use new name of compare_actual_formal.
        (gfc_arglist_matches_symbol): New method.
        (gfc_search_interface): Moved code partially to new
        gfc_arglist_matches_symbol.
        * resolve.c (resolve_typebound_generic_call): Resolve actual arglist
        before checking against formal and use new gfc_arglist_matches_symbol
        for checking.
        (resolve_compcall): Set type-spec of generated expression.

2008-09-23  Daniel Kraft  <d@domob.eu>

        PR fortran/37588
        * gfortran.dg/typebound_generic_4.f03: New test.
        * gfortran.dg/typebound_generic_5.f03: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/typebound_generic_4.f03
    trunk/gcc/testsuite/gfortran.dg/typebound_generic_5.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/interface.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37588


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