re PR fortran/37588 (GENERIC type-bound procedure is not resolved)
authorDaniel Kraft <d@domob.eu>
Tue, 23 Sep 2008 14:26:47 +0000 (16:26 +0200)
committerDaniel Kraft <domob@gcc.gnu.org>
Tue, 23 Sep 2008 14:26:47 +0000 (16:26 +0200)
commitf0ac18b79931a074b5bc88e0b64ea8ef84e40941
treec7feacbab392296b48eedf075c4af711194f8b63
parentf0580031a7919f8e1401db1c2e6515e1682eaaa7
re PR fortran/37588 (GENERIC type-bound procedure is not resolved)

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.

From-SVN: r140594
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_generic_4.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_generic_5.f03 [new file with mode: 0644]