https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48091
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2017-01-23 00:00:00 |2020-5-19 CC| |msebor at gcc dot gnu.org --- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> --- The problem with calls to K&R function definitions is isolated to the single translation unit that defines those functions. The problem with the same declarations (i.e., functions without a prototype) is much bigger but harder to do something about. The one thing GCC could do is use the type of the first call to such a function to match all subsequent calls against, and issue warnings for mismatches. That would detect a subset of the bugs.