summaryrefslogtreecommitdiff
path: root/gcc/lra-assigns.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-26 10:29:04 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-26 10:29:04 +0000
commitadfa3d5af9647987cb4bda55c61157329d23af67 (patch)
tree9ddc1ac6700e7806e16b7ce673d0e2fc72d185ee /gcc/lra-assigns.c
parent3befdeb030bb61ea407e294d6398b23a571cf39d (diff)
downloadgcc-adfa3d5af9647987cb4bda55c61157329d23af67.tar.gz
2014-02-26 Richard Biener <rguenther@suse.de>
PR bootstrap/60343 * lra-assigns.c (spill_for): Avoid mixed-sign comparison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lra-assigns.c')
-rw-r--r--gcc/lra-assigns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lra-assigns.c b/gcc/lra-assigns.c
index f94ebe62e89..28d4a0f104c 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