From: Jose E. Marchesi Date: Sat, 14 Dec 2024 18:15:34 +0000 (+0100) Subject: bpf: fix build adding new required arg to RESOLVE_OVERLOADED_BUILTIN X-Git-Tag: basepoints/gcc-16~3297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6866547e2421cc40606c13c2c3621a3d9121e893;p=thirdparty%2Fgcc.git bpf: fix build adding new required arg to RESOLVE_OVERLOADED_BUILTIN gcc/ChangeLog * config/bpf/bpf.cc (bpf_resolve_overloaded_builtin): Add argument `complain'. --- diff --git a/gcc/config/bpf/bpf.cc b/gcc/config/bpf/bpf.cc index fd913ecdb655..9a927e3a6ff1 100644 --- a/gcc/config/bpf/bpf.cc +++ b/gcc/config/bpf/bpf.cc @@ -1084,7 +1084,8 @@ bpf_expand_builtin (tree exp, rtx target ATTRIBUTE_UNUSED, #define TARGET_EXPAND_BUILTIN bpf_expand_builtin static tree -bpf_resolve_overloaded_builtin (location_t loc, tree fndecl, void *arglist) +bpf_resolve_overloaded_builtin (location_t loc, tree fndecl, void *arglist, + bool complain ATTRIBUTE_UNUSED) { int code = DECL_MD_FUNCTION_CODE (fndecl); if (code > BPF_CORE_BUILTINS_MARKER)