------- Comment #4 from tbm at cyrius dot com  2007-08-21 17:25 -------
better (C based) testcase:

/* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */

ui_create_cursor (unsigned char *andmask)
{
  unsigned char *cursor, *pcursor;
  unsigned char nextbit;

  for (nextbit = 0x80; nextbit != 0; nextbit >>= 1)
    *pcursor |= (~(*andmask) & nextbit);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33134

Reply via email to