http://sourceware.org/bugzilla/show_bug.cgi?id=13348

             Bug #: 13348
           Summary: Array subscript is above array bounds in libopcodes
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: d.g.gorbac...@gmail.com
                CC: hjl.to...@gmail.com
    Classification: Unclassified


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.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to