https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121406
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109110#c4 >From https://gcc.gnu.org/onlinedocs/gcc/Non-bugs.html : Checking the number and type of arguments to a function which has an old-fashioned definition and no prototype. Such a feature would work only occasionally—only for calls that appear in the same file as the called function, following the definition. The only way to check all calls reliably is to add a prototype for the function. But adding a prototype eliminates the motivation for this feature. So the feature is not worthwhile.