From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11732 invoked by alias); 30 Jan 2006 19:39:50 -0000 Received: (qmail 11698 invoked by uid 48); 30 Jan 2006 19:39:48 -0000 Date: Mon, 30 Jan 2006 19:39:00 -0000 Message-ID: <20060130193948.11697.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/26001] [4.1/4.2 Regression] expand uses the wrong part of the string for array accesses In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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 X-SW-Source: 2006-01/txt/msg03411.txt.bz2 List-Id: ------- Comment #15 from pinskia at gcc dot gnu dot org 2006-01-30 19:39 ------- (In reply to comment #14) > Sounds like the tree-optimizers should have replaced "0"[1] with '0'. This > also sounds like it was pure chance that the bug didn't trigger at -O0. Yes they should have but that is a tottally different issue which was filed (I forgot the number). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001