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 Wed, 27 Oct 2004, Richard Henderson wrote:

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.

This is the part i'm not sure is cheap. I'm actually adding it now, we'll see what happens.

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]