From: Owen Avery Date: Sat, 12 Jul 2025 03:41:53 +0000 (-0400) Subject: gccrs: Remove #[simd_test] support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2703fb6fdf52b766a05a6e38b06b2dea48a7c6;p=thirdparty%2Fgcc.git gccrs: Remove #[simd_test] support This attribute is a procedural macro defined by the crate simd-test-macro, not a built-in macro. gcc/rust/ChangeLog: * util/rust-attribute-values.h (Attributes::SIMD_TEST): Remove static constexpr member variable. * util/rust-attributes.cc (__definitions): Remove entry for SIMD_TEST. Signed-off-by: Owen Avery --- diff --git a/gcc/rust/util/rust-attribute-values.h b/gcc/rust/util/rust-attribute-values.h index 367044a36c1..f332f33404a 100644 --- a/gcc/rust/util/rust-attribute-values.h +++ b/gcc/rust/util/rust-attribute-values.h @@ -88,8 +88,6 @@ public: static constexpr auto &TEST = "test"; - static constexpr auto &SIMD_TEST = "simd_test"; - static constexpr auto &RUSTC_ARGS_REQUIRED_CONST = "rustc_args_required_const"; }; diff --git a/gcc/rust/util/rust-attributes.cc b/gcc/rust/util/rust-attributes.cc index 265391827e4..2d712526cda 100644 --- a/gcc/rust/util/rust-attributes.cc +++ b/gcc/rust/util/rust-attributes.cc @@ -125,8 +125,7 @@ static const BuiltinAttrDefinition __definitions[] {Attrs::NON_EXHAUSTIVE, TYPE_CHECK}, {Attrs::RUSTFMT, EXTERNAL}, - {Attrs::TEST, CODE_GENERATION}, - {Attrs::SIMD_TEST, CODE_GENERATION}}; + {Attrs::TEST, CODE_GENERATION}}; BuiltinAttributeMappings * BuiltinAttributeMappings::get ()