From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27378 invoked by alias); 18 Apr 2010 15:37:57 -0000 Received: (qmail 27340 invoked by uid 48); 18 Apr 2010 15:37:39 -0000 Date: Sun, 18 Apr 2010 15:37:00 -0000 Message-ID: <20100418153739.27339.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/41023] Inconsistent error locations for wrong interfaces with overloaded operators In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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-04/txt/msg01690.txt.bz2 ------- Comment #3 from dominiq at lps dot ens dot fr 2010-04-18 15:37 ------- Confirmed. Note that between 4.4 and 4.5 the error from the second test of comment #0 has changed from: MODULE PROCEDURE myplus 1 Error: Intrinsic operator interface at (1) must be a FUNCTION to SUBROUTINE myplus (a, b) 1 Error: Intrinsic operator interface at (1) must be a FUNCTION So the errors for the two tests are now consistent. However I am not sure of where is the best location for them (probably in both places). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41023