On Sun, Apr 19, 2015 at 11:17 PM, Jason Merrill <ja...@redhat.com> wrote: > On 04/19/2015 07:45 PM, Patrick Palka wrote: >> >> stdarg_p() apparently returns false for a variadic function that has no >> concrete parameters, e.g. "void foo (...);". This patch fixes this >> issue by removing the predicate's seemingly bogus "n != NULL_TREE" test. > > > What does this do with K&R non-prototype declarations, e.g. "int main();"?
stdarg_p (decl) now returns true when breaking on finish_decl() for "int main();". I'm not sure if that's right or not.. But never mind, I'm getting hundreds of failures from C tests that define main without a parameter list e.g. "int main () { ... }". This is an issue not worth fixing.. > > Jason >