[Bug c/55967] rightshift an unsigned value (X) by it's number of bits does not always yield 0, when X is an unsigned that's leftshifted by it's number of bits and offset

2013-01-14 Thread b1262178 at rmqkr dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55967 --- Comment #1 from JoeSoe 2013-01-14 12:53:24 UTC --- Of course I get warnings... go.c:146:3: warning: left shift count >= width of type [enabled by default] go.c:146:3: warning: right shift count >= width of type [enabled by default]

[Bug c/55967] New: rightshift an unsigned value (X) by it's number of bits does not always yield 0, when X is an unsigned that's leftshifted by it's number of bits and offset

2013-01-14 Thread b1262178 at rmqkr dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55967 Bug #: 55967 Summary: rightshift an unsigned value (X) by it's number of bits does not always yield 0, when X is an unsigned that's leftshifted by it's number of bits and offset