This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR43256: [OOP] TBP with missing optional arg
- From: Tobias Burnus <burnus at net-b dot de>
- To: Janus Weil <janus at gcc dot gnu dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 08 Mar 2010 08:59:02 +0100
- Subject: Re: [Patch, Fortran] PR43256: [OOP] TBP with missing optional arg
- References: <854832d41003070750i22a25136ra642ef5f85cf499a@mail.gmail.com>
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.
>