diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-05-01 19:06:45 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-05-01 19:06:45 +0200 |
commit | b6d37ec1dd2a228d94e7b5b438f3aa53684316bc (patch) | |
tree | 7fe780ddc008839a0f9e13b7b8a38b113f5bb392 /gcc/testsuite/gcc.c-torture/execute/builtins/lib/fprintf.c | |
parent | 08ce1b9f6707e00089c4d77d2bb82963d531bb1d (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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.
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/builtins/lib/fprintf.c')
0 files changed, 0 insertions, 0 deletions