This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/1278] regex undefined behavior with shifting past word length
- From: "schwab at suse dot de" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 2 Sep 2005 10:20:47 -0000
- Subject: [Bug regex/1278] regex undefined behavior with shifting past word length
- References: <20050831193645.1278.eggert@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From schwab at suse dot de 2005-09-02 10:20 -------
-1 when cast to unsigned is exactly the same as ~0u and also works with any
other unsigned type regardless of its width, whereas ~0u doesn't.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1278
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.