From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7531 invoked by alias); 11 Nov 2004 11:44:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7507 invoked by uid 48); 11 Nov 2004 11:44:23 -0000 Date: Thu, 11 Nov 2004 11:44:00 -0000 Message-ID: <20041111114423.7506.qmail@sourceware.org> From: "c dot lemmen at fz-juelich dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041022084631.18108.martin@mpa-garching.mpg.de> References: <20041022084631.18108.martin@mpa-garching.mpg.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/18108] [gfortran] overloading does not work for functions X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg01356.txt.bz2 List-Id: ------- Additional Comments From c dot lemmen at fz-juelich dot de 2004-11-11 11:44 ------- Surprisingly (to me), adding a second call to the function resolves the problem, i.e. in the examples below the following code works subroutine baz logical l l = bar (3) l = bar (3) ! alternatively, call l=bar(3.0) end subroutine Commenting out either of the calls to bar results in the code rejection -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18108