From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6292 invoked by alias); 19 Jul 2010 20:12:53 -0000 Received: (qmail 5819 invoked by alias); 19 Jul 2010 20:12:39 -0000 Date: Mon, 19 Jul 2010 20:12:00 -0000 Message-ID: <20100719201239.5818.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42385] [OOP] poylmorphic operators do not work In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paul dot richard dot thomas at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01971.txt.bz2 ------- Comment #9 from paul dot richard dot thomas at gmail dot com 2010-07-19 20:12 ------- Subject: Re: [OOP] poylmorphic operators do not work Fixed on trunk Paul > Author: pault > Date: Mon Jul 19 18:48:44 2010 > New Revision: 162313 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162313 > Log: > 2010-07-19  Paul Thomas   > >        PR fortran/42385 >        * interface.c (matching_typebound_op): Add argument for the >        return of the generic name for the procedure. >        (build_compcall_for_operator): Add an argument for the generic >        name of an operator procedure and supply it to the expression. >        (gfc_extend_expr, gfc_extend_assign): Use the generic name in >        calls to the above procedures. >        * resolve.c (resolve_typebound_function): Catch procedure >        component calls for CLASS objects, check that the vtable is >        complete and insert the $vptr and procedure components, to make >        the call. >        (resolve_typebound_function): The same. >        * trans-decl.c (gfc_trans_deferred_vars): Do not deallocate >        an allocatable scalar if it is a result. > > > 2010-07-19  Paul Thomas   > >        PR fortran/42385 >        * gfortran.dg/class_defined_operator_1.f03 : New test. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42385