This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR60343


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]