From: Owen Avery <[email protected]>
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 <[email protected]>
---
gcc/rust/util/rust-attribute-values.h | 2 --
gcc/rust/util/rust-attributes.cc | 3 +--
2 files changed, 1 insertion(+), 4 deletions(-)
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 ()
--
2.50.1