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, 26 Oct 2004, Diego Novillo wrote:

On Tue, 2004-10-26 at 12:33, Kenneth Zadeck wrote:

  /* Loop over all bits in BMP1 and BMP2, starting with MIN, setting
     BITNUM to the bit number for all bits that are set in both bitmaps.
!    ITER is a bitmap iterator.
!
!    DO NOT DELETE BITS FROM THE BITMAP WHILE ITERATING THROUGH IT!!
!    The iterator is not defined when the underlying bitmap is
!    changed in this way.  */

But we still silently fail.  I'd rather we ICE.  Can the failure
condition be detected easily?
Easily yes.
Cheaply, i'm not so sure.

I'm looking into it



Diego.




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