From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10626 invoked by alias); 1 Feb 2006 01:04:00 -0000 Received: (qmail 10594 invoked by alias); 1 Feb 2006 01:03:57 -0000 Date: Wed, 01 Feb 2006 01:04:00 -0000 Message-ID: <20060201010357.10593.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-02/txt/msg00001.txt.bz2 List-Id: ------- Comment #21 from pinskia at gcc dot gnu dot org 2006-02-01 01:03 ------- Subject: Bug 26001 Author: pinskia Date: Wed Feb 1 01:03:52 2006 New Revision: 110465 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110465 Log: 2006-01-31 Andrew Pinski PR middle-end/26001 * gfortran.dg/data_char_2.f90: New. 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. Added: trunk/gcc/testsuite/gfortran.dg/data_char_2.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001