From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20588 invoked by alias); 4 May 2008 08:05:48 -0000 Received: (qmail 20465 invoked by uid 48); 4 May 2008 08:05:03 -0000 Date: Sun, 04 May 2008 08:05:00 -0000 Subject: [Bug bootstrap/36121] New: config/i386/i386.c: array index out of range X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg00218.txt.bz2 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