https://gcc.gnu.org/g:6c9d2dd61fe12bd117d502b3b9970827bf372ef7

commit r17-6619-g6c9d2dd61fe12bd117d502b3b9970827bf372ef7
Author: Jin Ma <[email protected]>
Date:   Mon Nov 23 19:40:32 2026 +0800

    RISC-V: Remove unused target attribute parser member
    
    m_raw_attr_str is never read, written, or otherwise referenced, so
    drop it from riscv_target_attr_parser.
    
    gcc/ChangeLog:
    
            * config/riscv/riscv-target-attr.cc
            (riscv_target_attr_parser::m_raw_attr_str): Remove.

Diff:
---
 gcc/config/riscv/riscv-target-attr.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/config/riscv/riscv-target-attr.cc 
b/gcc/config/riscv/riscv-target-attr.cc
index 73db99809a62..af6912d4f8d6 100644
--- a/gcc/config/riscv/riscv-target-attr.cc
+++ b/gcc/config/riscv/riscv-target-attr.cc
@@ -61,7 +61,6 @@ public:
 
   void update_settings (struct gcc_options *opts) const;
 private:
-  const char *m_raw_attr_str;
   bool parse_arch (const char *);
 
   bool m_found_arch_p;

Reply via email to