From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4448 invoked by alias); 17 Oct 2007 17:14:50 -0000 Received: (qmail 4422 invoked by uid 48); 17 Oct 2007 17:14:40 -0000 Date: Wed, 17 Oct 2007 17:14:00 -0000 Message-ID: <20071017171440.4421.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: "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-10/txt/msg01555.txt.bz2 ------- Comment #12 from fxcoudert at gcc dot gnu dot org 2007-10-17 17:14 ------- (In reply to comment #11) > void foo2(some_fat_struct *ptr); but: > int foo(...); > > This looks pretty unlogical to me. Was it intentional? Yes, I think that's intentional. Why is it unlogical? Also, have you looked at how character variables are handled? (appending string length in the arg list) That's a surprising calling convention for people coming from C... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33097