I just tried to compile the GNU C compiler version 4.4 snapshot 20080502
with the Intel C compiler.

The Intel C compiler said

../../src/gcc-4.4-20080502/gcc/config/i386/i386.c(20878): warning #175:
subscript out of range

The source code is

      pat = GEN_FCN (icode) (target, args[0].op, args[1].op,
                 args[2].op);

but

  struct
    {
      rtx op;
      enum machine_mode mode;
    } args[2];

so args[ 2].op doesn't exist. Suggest make local variable args one
bigger.


-- 
           Summary: config/i386/i386.c: array index out of range
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36121

Reply via email to