This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR60343
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Feb 2014 11:28:31 +0100 (CET)
- Subject: [PATCH] Fix PR60343
- Authentication-results: sourceware.org; auth=none
Bootstrapped on x86_64-unknown-linux-gnu, committed.
Richard.
2014-02-26 Richard Biener <rguenther@suse.de>
PR bootstrap/60343
* lra-assigns.c (spill_for): Avoid mixed-sign comparison.
Index: gcc/lra-assigns.c
===================================================================
--- gcc/lra-assigns.c (revision 208166)
+++ gcc/lra-assigns.c (working copy)
@@ -898,7 +898,7 @@ spill_for (int regno, bitmap spilled_pse
}
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