On Wed, Dec 4, 2013 at 1:03 AM, Richard Sandiford
rdsandif...@googlemail.com wrote:
Richard Biener richard.guent...@gmail.com writes:
Looking at the implementation it seems it would also work with
return MIN (TREE_INT_CST_EXT_NUNITS (m_t), N / HOST_BITS_PER_WIDE_INT);
Yeah, the MIN in the
Richard Biener richard.guent...@gmail.com writes:
Looking at the implementation it seems it would also work with
return MIN (TREE_INT_CST_EXT_NUNITS (m_t), N / HOST_BITS_PER_WIDE_INT);
Yeah, the MIN in the patch was probably bogus sorry. It only works
if we can assume that no bitsizetype
On Sat, Nov 30, 2013 at 10:43 AM, Richard Sandiford
rdsandif...@googlemail.com wrote:
So maybe two INTEGER_CST lengths weren't enough. Because bitsizetype
can be offset_int-sized, wi::to_offset had a TYPE_PRECISION condition
to pick the array length:
template int N
inline unsigned int
Richard Biener richard.guent...@gmail.com writes:
On Sat, Nov 30, 2013 at 10:43 AM, Richard Sandiford
rdsandif...@googlemail.com wrote:
So maybe two INTEGER_CST lengths weren't enough. Because bitsizetype
can be offset_int-sized, wi::to_offset had a TYPE_PRECISION condition
to pick the array
On Mon, Dec 2, 2013 at 2:48 PM, Richard Sandiford
rdsandif...@googlemail.com wrote:
Richard Biener richard.guent...@gmail.com writes:
On Sat, Nov 30, 2013 at 10:43 AM, Richard Sandiford
rdsandif...@googlemail.com wrote:
So maybe two INTEGER_CST lengths weren't enough. Because bitsizetype
can
So maybe two INTEGER_CST lengths weren't enough. Because bitsizetype
can be offset_int-sized, wi::to_offset had a TYPE_PRECISION condition
to pick the array length:
template int N
inline unsigned int
wi::extended_tree N::get_len () const
{
if (N == MAX_BITSIZE_MODE_ANY_INT
|| N