This is the mail archive of the
gcc-bugs@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: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, act dot kronoz at activenetwork dot it, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Fri, 12 Jul 2002 23:02:27 -0400
- Subject: Re: c/6326: gcc compile illegal code
Even reading the standard from your bug report:
`The empty list in a function declarator that is not part of
a definition of that function specifies that no information
about the
number or types of the parameters is supplied.'
It looks like:
int foo() {
return 0;
}
should and is currently equal to, like K&R C,
int foo(...) {
return 0;
}
Therefore this bug report should be closed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=6326