https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90648
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Is there a way we could check the arguments early in a single place, and if they don't match, create a regular function call instead of a bogus call to a builtin? This is so we don't have to check the arguments all over the place in the compiler. But it may be harder than it sounds.