numeric_range.normalize_symbolics ();
return numeric_range.legacy_lower_bound (pair);
}
- gcc_checking_assert (!undefined_p ());
+ gcc_checking_assert (m_num_ranges > 0);
gcc_checking_assert (pair + 1 <= num_pairs ());
if (m_kind == VR_ANTI_RANGE)
{
numeric_range.normalize_symbolics ();
return numeric_range.legacy_upper_bound (pair);
}
- gcc_checking_assert (!undefined_p ());
+ gcc_checking_assert (m_num_ranges > 0);
gcc_checking_assert (pair + 1 <= num_pairs ());
if (m_kind == VR_ANTI_RANGE)
{
inline tree
irange::type () const
{
- gcc_checking_assert (!undefined_p ());
+ gcc_checking_assert (m_num_ranges > 0);
return TREE_TYPE (m_base[0]);
}
{
if (legacy_mode_p ())
return legacy_lower_bound (pair);
- gcc_checking_assert (!undefined_p ());
+ gcc_checking_assert (m_num_ranges > 0);
gcc_checking_assert (pair + 1 <= num_pairs ());
return wi::to_wide (tree_lower_bound (pair));
}
{
if (legacy_mode_p ())
return legacy_upper_bound (pair);
- gcc_checking_assert (!undefined_p ());
+ gcc_checking_assert (m_num_ranges > 0);
gcc_checking_assert (pair + 1 <= num_pairs ());
return wi::to_wide (tree_upper_bound (pair));
}