This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH gcc/ebitmap] fix for ebitmap_clear_bit()
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: nbenoit at tuxfamily dot org, gcc-patches at gcc dot gnu dot org, nicolas dot benoit at cea dot fr
- Date: Thu, 3 Sep 2009 22:01:05 +0200
- Subject: Re: [PATCH gcc/ebitmap] fix for ebitmap_clear_bit()
- References: <a1766e0c244e520b5803012d6e795ae8.squirrel@webmail.tuxfamily.org> <b798aad50909031135n44152514x8b5f65d16feeaff5@mail.gmail.com>
On Thu, Sep 3, 2009 at 8:35 PM, Diego Novillo<dnovillo@google.com> wrote:
> On Fri, Aug 28, 2009 at 09:43, <nbenoit@tuxfamily.org> wrote:
>> This patch fixes the reset of the cache in a ebitmap structure after
>> a clear_bit operation. The map->cacheindex contains wordindex values,
>> and not eltwordindex values which belong to the wordmask space.
>>
>>
>> 2009-08-28 ?Nicolas Benoit ?<nbenoit@tuxfamily.org>
>>
>> ? ? ? ?* ebitmap.c (ebitmap_clear_bit): Fixed map->cacheindex test.
>
> This looks OK in principle, but it needs a test case. ?Could you add one?
Is any pass even using ebitmaps right now?
Ciao!
Steven