stage3/array_range_check.cc
changeset 621 e3616f6b6959
parent 620 aef32856eeb5
child 625 c0bda77b37a0
child 646 dd76ce4a7e22
--- a/stage3/array_range_check.cc	Fri Jul 20 23:18:32 2012 +0200
+++ b/stage3/array_range_check.cc	Thu Aug 16 18:28:23 2012 +0100
@@ -80,7 +80,8 @@
  *    first has a lesser value.
  */
 static inline int cmp_unsigned_signed(const uint64_t u, const int64_t s) {
-  if (u <= INT64_MAX)
+  const uint64_t INT64_MAX_uvar = INT64_MAX;
+  if (u <= INT64_MAX_uvar)
     return ((int64_t)u - s);
   return -1;
 }