From bb750f4f526edb782277f89a8b2a6ebeb0c60f95 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 26 Feb 2014 10:29:04 +0000 Subject: [PATCH] re PR bootstrap/60343 (r208155 breaks bootstrap) 2014-02-26 Richard Biener PR bootstrap/60343 * lra-assigns.c (spill_for): Avoid mixed-sign comparison. From-SVN: r208170 --- gcc/ChangeLog | 5 +++++ gcc/lra-assigns.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f5bd62..8977888 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-02-26 Richard Biener + + PR bootstrap/60343 + * lra-assigns.c (spill_for): Avoid mixed-sign comparison. + 2014-02-25 Ilya Tocar * common/config/i386/predicates.md (const1256_operand): Remove. diff --git a/gcc/lra-assigns.c b/gcc/lra-assigns.c index f94ebe6..28d4a0f 100644 --- a/gcc/lra-assigns.c +++ b/gcc/lra-assigns.c @@ -898,7 +898,7 @@ spill_for (int regno, bitmap spilled_pseudo_bitmap) } n = 0; if (sparseset_cardinality (live_range_reload_inheritance_pseudos) - <= LRA_MAX_CONSIDERED_RELOAD_PSEUDOS) + <= (unsigned)LRA_MAX_CONSIDERED_RELOAD_PSEUDOS) EXECUTE_IF_SET_IN_SPARSESET (live_range_reload_inheritance_pseudos, reload_regno) if ((int) reload_regno != regno -- 2.7.4