This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/6326: gcc compile illegal code
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 13 Jul 2002 03:06:00 -0000
- Subject: Re: c/6326: gcc compile illegal code
- Reply-to: Andrew Pinski <pinskia at physics dot uc dot edu>
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