This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: proposed documentation change to bitmap.h


On Tue, Oct 26, 2004 at 01:02:25PM -0400, Daniel Berlin wrote:
> Easily yes.
> Cheaply, i'm not so sure.

Certainly.  Add a "modified" bit to the bitmap structure.
Clear it before beginning iteration.  Set it in anything
that changes the bitmap.  ICE in the iteration loop if it
becomes set.

Should be --enable-checking, for certain.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]