https://gcc.gnu.org/g:7f2703fb6fdf52b766a05a6e38b06b2dea48a7c6

commit r16-4799-g7f2703fb6fdf52b766a05a6e38b06b2dea48a7c6
Author: Owen Avery <[email protected]>
Date:   Fri Jul 11 23:41:53 2025 -0400

    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 <[email protected]>

Diff:
---
 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 367044a36c1c..f332f33404aa 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 265391827e42..2d712526cda9 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 ()

Reply via email to