]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove unused vector in value-relation.cc.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 24 Jun 2025 20:51:56 +0000 (16:51 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 25 Jun 2025 14:24:52 +0000 (10:24 -0400)
The relation_to_code vector in value-relation is now unused, so we can
remove it.

* value-relation.cc (relation_to_code): Remove.

gcc/value-relation.cc

index c7ced445ad768127982e8ced4d6bdc970912f256..2ac7650fe5b4d5daaacf146eca307dfb0a8d2153 100644 (file)
@@ -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.