https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- But don't do that if -Werror=implicit-function-declaration was used explicitly, because maybe the configure test is actually trying to detect that error.