https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86418
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-10-06 Ever confirmed|0 |1 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. My preference would be to resolve pr82922 and diagnose all calls to functions without a prototype. Short of that, this could be handled by saving the type of the first call to a function without a prototype in a translation unit, comparing it to the type of each subsequent call, and warning if they don't match.