https://gcc.gnu.org/g:c08d6d90ca5e6e8bdcef180de214971b844542b2

commit r16-1676-gc08d6d90ca5e6e8bdcef180de214971b844542b2
Author: Andrew MacLeod <amacl...@redhat.com>
Date:   Tue Jun 24 16:51:56 2025 -0400

    Remove unused vector in value-relation.cc.
    
    The relation_to_code vector in value-relation is now unused, so we can
    remove it.
    
            * value-relation.cc (relation_to_code): Remove.

Diff:
---
 gcc/value-relation.cc | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gcc/value-relation.cc b/gcc/value-relation.cc
index c7ced445ad76..2ac7650fe5b4 100644
--- a/gcc/value-relation.cc
+++ b/gcc/value-relation.cc
@@ -202,12 +202,6 @@ adjust_equivalence_range (vrange &range)
     }
  }
 
-// This vector maps a relation to the equivalent tree code.
-
-static const tree_code relation_to_code [VREL_LAST] = {
-  ERROR_MARK, ERROR_MARK, LT_EXPR, LE_EXPR, GT_EXPR, GE_EXPR, EQ_EXPR,
-  NE_EXPR };
-
 // Given an equivalence set EQUIV, set all the bits in B that are still valid
 // members of EQUIV in basic block BB.

Reply via email to