From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2189 invoked by alias); 3 Feb 2006 18:31:24 -0000 Received: (qmail 2152 invoked by alias); 3 Feb 2006 18:31:18 -0000 Date: Fri, 03 Feb 2006 18:31:00 -0000 Message-ID: <20060203183118.2151.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/26001] [4.1 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-02/txt/msg00261.txt.bz2 List-Id: ------- Comment #24 from pinskia at gcc dot gnu dot org 2006-02-03 18:31 ------- Subject: Bug 26001 Author: pinskia Date: Fri Feb 3 18:31:14 2006 New Revision: 110551 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110551 Log: 2006-01-31 Andrew Pinski PR middle-end/26001 * expr.c (expand_expr_real_1) : Use the corrected index for the character out of the string constant. 2006-01-31 Andrew Pinski PR middle-end/26001 * gfortran.dg/data_char_2.f90: New. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/data_char_2.f90 - copied unchanged from r110465, trunk/gcc/testsuite/gfortran.dg/data_char_2.f90 Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/expr.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001