From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 411B93858C50; Sat, 3 Dec 2022 11:49:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 411B93858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670068156; bh=sweZFdmx1IA7lARku8ykZCMh0DKaUnuUlVEhMc6tavE=; h=From:To:Subject:Date:From; b=en34UdKWe4NQAgWogmUvCNwo0FWJqeH0O0KbywfMRWFzJF0LHJhUEYBPdzAZRymx5 XoaeO0gQ9efySuPxwGFfUo6Hru9y6h4Wo5LPz0+E87o6kDAMveuJafA43iO9c+YCtI V3qbg5m/sLDpIdmtCN4e/H1XC6NOYZhLI1bfjJXo= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] builtins: Remove unused parameter X-Act-Checkin: gcc X-Git-Author: Arthur Cohen X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 738df996e0b5ce53b8681cdc34e64cf0f2b37020 X-Git-Newrev: 4c66e0f3c105b2ae929d224acadb70b3b95b5333 Message-Id: <20221203114916.411B93858C50@sourceware.org> Date: Sat, 3 Dec 2022 11:49:16 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4c66e0f3c105b2ae929d224acadb70b3b95b5333 commit 4c66e0f3c105b2ae929d224acadb70b3b95b5333 Author: Arthur Cohen Date: Wed Nov 30 12:12:14 2022 +0100 builtins: Remove unused parameter Diff: --- gcc/rust/backend/rust-builtins.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/rust/backend/rust-builtins.cc b/gcc/rust/backend/rust-builtins.cc index ee3e42e6b53..ec65026c675 100644 --- a/gcc/rust/backend/rust-builtins.cc +++ b/gcc/rust/backend/rust-builtins.cc @@ -253,7 +253,7 @@ BuiltinsContext::define_builtins () { auto *built_in_attributes = builtin_attributes; auto build_builtin = [this] (built_in_function fn_code, const char *fn_name, - built_in_class fn_class, tree fn_type, bool both, + built_in_class fn_class, tree fn_type, bool fallback, tree attributes, bool implicit) { if (fn_type == error_mark_node) return; @@ -272,7 +272,7 @@ BuiltinsContext::define_builtins () #define DEF_BUILTIN(ENUM, NAME, CLASS, TYPE, LIBTYPE, BOTH_P, FALLBACK_P, \ NONANSI_P, ATTRS, IMPLICIT, COND) \ if (NAME && COND) \ - build_builtin (ENUM, NAME, CLASS, builtin_types[TYPE], BOTH_P, FALLBACK_P, \ + build_builtin (ENUM, NAME, CLASS, builtin_types[TYPE], FALLBACK_P, \ built_in_attributes[ATTRS], IMPLICIT); #include "builtins.def" #undef DEF_BUILTIN