From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31461 invoked by alias); 8 Nov 2004 08:41:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31432 invoked by uid 48); 8 Nov 2004 08:41:37 -0000 Date: Mon, 08 Nov 2004 08:41:00 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20041108084135.18371.dcb314@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/18371] New: array subscript out of range X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg00884.txt.bz2 List-Id: Hello there, I just tried to compile gcc 343 with the Intel C 8.1 compiler. The Intel compiler said ../../src/gcc-3.4.3/gcc/config/i386/i386.c(10626): warning #175: subscript out of range ../../src/gcc-3.4.3/gcc/config/i386/i386.c(10629): warning #175: subscript out of range The source code is long l[3]; /* ... */ + ((((HOST_WIDE_INT) l[3]) << 31) << 1), /* ... */ parts[1] = immed_double_const (l[2], l[3], DImode); In fact, l[ 3] does not exist. Suggest code re-work. -- Summary: array subscript out of range Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18371