From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18722 invoked by alias); 13 Jul 2002 03:06:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 18708 invoked by uid 71); 13 Jul 2002 03:06:00 -0000 Date: Fri, 12 Jul 2002 20:06:00 -0000 Message-ID: <20020713030600.18707.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Andrew Pinski Subject: Re: c/6326: gcc compile illegal code Reply-To: Andrew Pinski X-SW-Source: 2002-07/txt/msg00408.txt.bz2 List-Id: The following reply was made to PR c/6326; it has been noted by GNATS. From: Andrew Pinski To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, act.kronoz@activenetwork.it, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c/6326: gcc compile illegal code Date: Fri, 12 Jul 2002 23:02:27 -0400 Even reading the standard from your bug report: `The empty list in a function=A0 declarator that is not part of a definition=A0 of that function=A0 specifies that no information=A0=20 about the number or types of the parameters is supplied.' It looks like: int foo() { =A0 =A0 =A0 =A0 return 0; } should and is currently equal to, like K&R C, int foo(...) { =A0 =A0 =A0 =A0 return 0; } Therefore this bug report should be closed. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit- trail&database=3Dgcc&pr=3D6326