This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/6326: gcc compile illegal code


The following reply was made to PR c/6326; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]