c/6326: gcc compile illegal code
Andrew Pinski
pinskia@physics.uc.edu
Fri Jul 12 20:06:00 GMT 2002
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
More information about the Gcc-bugs
mailing list