public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7585] arm: fix bootstrap failure following automatic mode selection patch
@ 2021-03-09 17:06 Richard Earnshaw
0 siblings, 0 replies; only message in thread
From: Richard Earnshaw @ 2021-03-09 17:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a1e4fc19d99af3964588d3770cbf52e160d5b24b
commit r11-7585-ga1e4fc19d99af3964588d3770cbf52e160d5b24b
Author: Richard Earnshaw <rearnsha@arm.com>
Date: Tue Mar 9 17:02:53 2021 +0000
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.
Diff:
---
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-09 17:06 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:06 [gcc r11-7585] arm: fix bootstrap failure following automatic mode selection patch Richard Earnshaw
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).