aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/range.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/range.h b/gcc/range.h
index 5c70c66..8138d6f 100644
--- a/gcc/range.h
+++ b/gcc/range.h
@@ -32,7 +32,7 @@ static inline int_range<1>
range_true (tree type)
{
unsigned prec = TYPE_PRECISION (type);
- return int_range<1> (type, wi::one (prec), wi::one (prec));
+ return int_range<2> (type, wi::one (prec), wi::one (prec));
}
// Return an irange instance that is a boolean FALSE.
@@ -41,7 +41,7 @@ static inline int_range<1>
range_false (tree type)
{
unsigned prec = TYPE_PRECISION (type);
- return int_range<1> (type, wi::zero (prec), wi::zero (prec));
+ return int_range<2> (type, wi::zero (prec), wi::zero (prec));
}
// Return an irange that covers both true and false.
@@ -50,7 +50,7 @@ static inline int_range<1>
range_true_and_false (tree type)
{
unsigned prec = TYPE_PRECISION (type);
- return int_range<1> (type, wi::zero (prec), wi::one (prec));
+ return int_range<2> (type, wi::zero (prec), wi::one (prec));
}
#endif // GCC_RANGE_H