Hi,
I'm aware it has to have something to do with register allocation
and I'm very well aware Intel is short of registers
Anyway, try to put the snippet below into any .c file and
make a static library out of it.
The error should appear.
best regards
Tomasz Tyrakowski
#define ttBytesInBitArray(A) ((A)->len & 0x00000007 ? ((A)->len>>3) +1 : (A)->len>>3)
typedef struct {
unsigned char *data;
int len;
int setbits;
int minset;
int maxset;
int maintain;
} ttBitArray;
void ttBitArrayComplement(ttBitArray *a, ttBitArray *r)
{
int i, byt;
if (r->len != a->len) return;
byt = ttBytesInBitArray(r);
r->setbits = a->len - a->setbits;
for (i=0; i<byt; i++) {
r->data
= ~ a->data;
}
}