https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102009
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- gimple_builtin_call_types_compatible_p() returns false even for calls with trivial mismatches like an int where a size_t is expected. I would prefer a less restrictive test that doesn't prevent detecting these bugs in such calls to function without a prototype.