https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119950
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Florian Weimer <f...@gcc.gnu.org>: https://gcc.gnu.org/g:b6d37ec1dd2a228d94e7b5b438f3aa53684316bc commit r16-334-gb6d37ec1dd2a228d94e7b5b438f3aa53684316bc 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.