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]

bitmap fix for current


I was doing a merge, and it failed to even compile the runtime libraries due to checking in bitmap.  bitmap goes to remove set bits from the bitmap (the second hunk in a two hunk set), and it fails to update the current pointer.  That memory is freed and then reallocated and a new index is put into it, and then we fail a consistency check later on due to the mismatch between head->index and head->current->indx, because current was not properly maintained.  This patch removes the old value of current when we remove what it points to from the bitmap.

Ok?

Attachment: bitmap.diffs.txt
Description: Text document


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