]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: Remove unused variable arm_binop_none_none_unone_qualifiers
authorChristophe Lyon <christophe.lyon@arm.com>
Fri, 4 Mar 2022 14:44:15 +0000 (15:44 +0100)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 8 Mar 2022 20:21:03 +0000 (21:21 +0100)
Commits r12-7342 and r12-7344 made some cleanup, leaving
arm_binop_none_none_unone_qualifiers unused.
This is causing build failures with -Werror (eg bootstrap).

This patch fixes the problem by removing the definition of
arm_binop_none_none_unone_qualifiers and
BINOP_NONE_NONE_UNONE_QUALIFIERS which are now unused.

Tested by bootstraping on arm-linux-gnueaibhf.

2022-03-04  Christophe Lyon  <christophe.lyon@arm.com>

gcc/
* config/arm/arm-builtins.cc
(arm_binop_none_none_unone_qualifiers): Delete.
(BINOP_NONE_NONE_UNONE_QUALIFIERS): Delete.

gcc/config/arm/arm-builtins.cc

index 6c0b1bda66ae33fa46e983e7b93e7ffd9a6c92b8..36a40a1dc8011c6e74c2967190fef8b8b0c86cf1 100644 (file)
@@ -432,12 +432,6 @@ arm_binop_unone_none_imm_qualifiers[SIMD_MAX_BUILTIN_ARGS]
 #define BINOP_UNONE_NONE_IMM_QUALIFIERS \
   (arm_binop_unone_none_imm_qualifiers)
 
-static enum arm_type_qualifiers
-arm_binop_none_none_unone_qualifiers[SIMD_MAX_BUILTIN_ARGS]
-  = { qualifier_none, qualifier_none, qualifier_unsigned };
-#define BINOP_NONE_NONE_UNONE_QUALIFIERS \
-  (arm_binop_none_none_unone_qualifiers)
-
 static enum arm_type_qualifiers
 arm_binop_pred_none_none_qualifiers[SIMD_MAX_BUILTIN_ARGS]
   = { qualifier_predicate, qualifier_none, qualifier_none };