[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-23 Thread domob at gcc dot gnu dot org


--- 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=gccview=revrev=140594
Log:
2008-09-23  Daniel Kraft  [EMAIL PROTECTED]

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  [EMAIL PROTECTED]

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



[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-23 Thread domob at gcc dot gnu dot org


--- Comment #6 from domob at gcc dot gnu dot org  2008-09-23 14:29 ---
Fixed on trunk.


-- 

domob at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-20 Thread sfilippone at uniroma2 dot it


--- Comment #4 from sfilippone at uniroma2 dot it  2008-09-20 06:56 ---
(In reply to comment #2)
 I believe the program is valid [modulo the CLASS/TYPE issue].
 
 (NAG f95 by the way give an odd error message and crashes than with a
 segfault.)
 
Well, of course; be reassured that I will try a CLASS argument as soon as it's
implemented ;-) 
But it's clearly not the issue at hand... 
Regards
SAlvatore


-- 


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



[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread sfilippone at uniroma2 dot it


--- Comment #1 from sfilippone at uniroma2 dot it  2008-09-19 16:39 ---
Created an attachment (id=16364)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16364action=view)
test case


-- 


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



[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread burnus at gcc dot gnu dot org


--- Comment #2 from burnus at gcc dot gnu dot org  2008-09-19 20:07 ---
I believe the program is valid [modulo the CLASS/TYPE issue].

(NAG f95 by the way give an odd error message and crashes than with a
segfault.)


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||d at domob dot eu, burnus at
   ||gcc dot gnu dot org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||rejects-valid
   Last reconfirmed|-00-00 00:00:00 |2008-09-19 20:07:54
   date||


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



[Bug fortran/37588] GENERIC type-bound procedure is not resolved

2008-09-19 Thread domob at gcc dot gnu dot org


--- Comment #3 from domob at gcc dot gnu dot org  2008-09-19 20:17 ---
I'll take this on as it is about GENERIC type-bound procedures.


-- 

domob at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |domob at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-09-19 20:07:54 |2008-09-19 20:17:32
   date||


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