From 768956c0d115766fe7e1168d420310182ae48d9f Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 4 Mar 2022 15:44:15 +0100 Subject: [PATCH] arm: Remove unused variable arm_binop_none_none_unone_qualifiers 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 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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gcc/config/arm/arm-builtins.cc b/gcc/config/arm/arm-builtins.cc index 6c0b1bda66ae..36a40a1dc801 100644 --- a/gcc/config/arm/arm-builtins.cc +++ b/gcc/config/arm/arm-builtins.cc @@ -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 };