From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22829 invoked by alias); 21 Mar 2007 00:10:14 -0000 Received: (qmail 22680 invoked by uid 48); 21 Mar 2007 00:10:00 -0000 Date: Wed, 21 Mar 2007 00:10:00 -0000 Message-ID: <20070321001000.22679.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/30877] overloading "operator(*)" for intrinsic type (complex) fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert 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: 2007-03/txt/msg02004.txt.bz2 ------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-03-21 00:10 ------- (In reply to comment #2) > interface.c:567 is where it all starts. Thanks for the pointer. > If complex is excluded from product, we run into a > problem with the test for the shape of the two operands. I think it's the right way to go, though. I don't have the standard with me, but I think it's precisely because of the different shapes that we can override this. Maybe some code later in the codepath needs to be taught about that? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30877