diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-12-02 09:20:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-02 09:20:06 +0000 |
commit | 0bf68cf5e6199ce7deb3d0744ced09dd4db1b1c9 (patch) | |
tree | 019780ddc799849765a8f4e21975a0afe5dea35a /gcc/rust/backend/rust-builtins.cc | |
parent | 738df996e0b5ce53b8681cdc34e64cf0f2b37020 (diff) | |
parent | 4c66e0f3c105b2ae929d224acadb70b3b95b5333 (diff) | |
download | gcc-0bf68cf5e6199ce7deb3d0744ced09dd4db1b1c9.zip gcc-0bf68cf5e6199ce7deb3d0744ced09dd4db1b1c9.tar.gz gcc-0bf68cf5e6199ce7deb3d0744ced09dd4db1b1c9.tar.bz2 |
Merge #1668
1668: builtins: Remove unused parameter r=CohenArthur a=CohenArthur
Merging #1630 broke the bootstrap build
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-builtins.cc')
-rw-r--r-- | gcc/rust/backend/rust-builtins.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-builtins.cc b/gcc/rust/backend/rust-builtins.cc index ee3e42e..ec65026 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 |