The error happens when compiling with GCC 4.7.0 at -O3 level. In i386-dis.c, line 11334, all_prefixes[i] && i < (int) ARRAY_SIZE (all_prefixes) the operands of `&&' should be exchanged.
CVSROOT: /cvs/src Module name: src Changes by: nickc@sourceware.org 2011-10-26 14:46:00 Modified files: opcodes : ChangeLog i386-dis.c Log message: PR binutils/13348 * i386-dis.c (print_insn): Fix testing of array subscript. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1769&r2=1.1770 http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/i386-dis.c.diff?cvsroot=src&r1=1.265&r2=1.266
Obvious patch applied.
*** Bug 11978 has been marked as a duplicate of this bug. ***