From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18843 invoked by alias); 4 Nov 2009 19:55:48 -0000 Received: (qmail 18799 invoked by uid 48); 4 Nov 2009 19:55:36 -0000 Date: Wed, 04 Nov 2009 19:55:00 -0000 Message-ID: <20091104195536.18797.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/41556] Errors in applying operator/assignment to an abstract type In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janus at gcc dot gnu dot org" 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: 2009-11/txt/msg00352.txt.bz2 ------- Comment #3 from janus at gcc dot gnu dot org 2009-11-04 19:55 ------- The commit in comment #2 contains the patchlet from comment #1 and fixes the first of the error messages in comment #0. At this point, the test case still triggers three error messages: c0.f90:34.14: operand = operand*scale ! preferred implementation 1 Error: Operands of binary numeric operator '*' at (1) are CLASS(object)/REAL(4) c0.f90:35.14: operand = operand%product(scale) ! alternate implementation 1 Error: ABSTRACT INTERFACE 'product_interface' must not be referenced at (1) c0.f90:35.14: operand = operand%product(scale) ! alternate implementation 1 Error: ABSTRACT INTERFACE 'product_interface' must not be referenced at (1) The last two also appear in PR 41873. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41556