https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119950
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:3913d958e203dbf3c4a0527e7bc03c684e3f05a4 commit r15-10187-g3913d958e203dbf3c4a0527e7bc03c684e3f05a4 Author: Florian Weimer <fwei...@redhat.com> Date: Thu May 1 19:06:45 2025 +0200 c: Suppress -Wdeprecated-non-prototype warnings for builtins Builtins defined with BT_FN_INT_VAR etc. show as functions without a prototype and trigger the warning. gcc/c/ PR c/119950 * c-typeck.cc (convert_arguments): Check for built-in function declaration before warning. gcc/testsuite/ * gcc.dg/Wdeprecated-non-prototype-5.c: New test. (cherry picked from commit b6d37ec1dd2a228d94e7b5b438f3aa53684316bc)