/* SparseSet implementation.
- Copyright (C) 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2007-2015 Free Software Foundation, Inc.
Contributed by Peter Bergner <bergner@vnet.ibm.com>
This file is part of GCC.
{
SPARSESET_ELT_TYPE idx;
- gcc_assert (e < s->size);
+ gcc_checking_assert (e < s->size);
idx = s->sparse[e];
{
SPARSESET_ELT_TYPE mem = s->members;
- gcc_assert (mem != 0);
+ gcc_checking_assert (mem != 0);
s->members = mem - 1;
- return s->dense[mem];
+ return s->dense[s->members];
}
static inline void