% gcc --version gcc (Debian 4.3.3-7) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% cat gcc4-bug.c #include <stdint.h> int main(void) { uint8_t v1 = 0; v1>>=0xdebecced; } % gcc gcc4-bug.c gcc4-bug.c: In function 'main': gcc4-bug.c:5: warning: right shift count >= width of type gcc4-bug.c:6: error: unrecognizable insn: (insn 7 6 8 3 gcc4-bug.c:5 (set (reg:QI 60) (const_int -557921043 [0xffffffffdebecced])) -1 (nil)) gcc4-bug.c:6: internal compiler error: in extract_insn, at recog.c:2001 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions. -- Summary: ICE shifting byte to the right with constant > 7FFFFFFF Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bjoern at hoehrmann dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39779