This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33134] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:325
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2007 17:25:41 -0000
- Subject: [Bug tree-optimization/33134] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:325
- References: <bug-33134-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tbm at cyrius dot com 2007-08-21 17:25 -------
better (C based) testcase:
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
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