* [COMMITTED] arm: fix bootstrap failure following automatic mode selection patch
@ 2021-03-09 17:10 Richard Earnshaw (lists)
0 siblings, 0 replies; only message in thread
From: Richard Earnshaw (lists) @ 2021-03-09 17:10 UTC (permalink / raw)
To: GCC Patches
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;
--
2.30.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-09 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 17:10 [COMMITTED] arm: fix bootstrap failure following automatic mode selection patch Richard Earnshaw (lists)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).