From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4283 invoked by alias); 17 Oct 2007 10:17:16 -0000 Received: (qmail 4255 invoked by uid 48); 17 Oct 2007 10:17:03 -0000 Date: Wed, 17 Oct 2007 10:17:00 -0000 Message-ID: <20071017101703.4254.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/33097] Function decl trees without proper argument list In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "asl at math dot spbu dot ru" 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-10/txt/msg01519.txt.bz2 ------- Comment #8 from asl at math dot spbu dot ru 2007-10-17 10:17 ------- (In reply to comment #3) > Confirmed. The same thing is true for external procedures, like: > > program test > real x > external x > print *, x(2) > end program test > > real function x(i) > integer i > x = i + 1 > end function x > This isn't so bad, because decl for x is emitted as vararg function and thus tree is not bogus -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33097