From a1e4fc19d99af3964588d3770cbf52e160d5b24b Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 9 Mar 2021 17:02:53 +0000 Subject: [PATCH] arm: fix bootstrap failure following automatic mode selection patch Fix a signed vs unsigned comparison in last change. gcc: * common/config/arm/arm-common.c (arm_config_default): Change type of 'i' to unsigned. --- gcc/common/config/arm/arm-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common/config/arm/arm-common.c b/gcc/common/config/arm/arm-common.c index 5b03b86724d..9980af6885c 100644 --- a/gcc/common/config/arm/arm-common.c +++ b/gcc/common/config/arm/arm-common.c @@ -248,7 +248,7 @@ check_isa_bits_for (const enum isa_feature* bits, enum isa_feature bit) static const char * arm_config_default (const char *name) { - int i; + unsigned i; if (configure_default_options[0].name == NULL) return NULL;