This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [Patch, Fortran] PR43256: [OOP] TBP with missing optional arg


On 03/07/2010 04:50 PM, Janus Weil wrote:
> Ok for trunk?
>   
OK. Thanks for the patch!

Tobias

> 2010-03-07  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/43256
> 	* resolve.c (resolve_compcall): Don't set 'value.function.name' here
> 	for TBPs, otherwise they will not be resolved properly.
> 	(resolve_function): Use 'value.function.esym' instead of
>         'value.function.name' to check if we're dealing with a TBP.
> 	(check_class_members): Set correct type of passed object for all TBPs,
> 	not only generic ones, except if the type is abstract.
>
> 2010-03-07  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/43256
> 	* gfortran.dg/typebound_call_13.f03: New.
>   


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