[Bug middle-end/26001] [4.1 Regression] expand uses the wrong part of the string for array accesses
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 3 18:31:00 GMT 2006
------- 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 <pinskia@physics.uc.edu>
PR middle-end/26001
* expr.c (expand_expr_real_1) <case ARRAY_REF>:
Use the corrected index for the character
out of the string constant.
2006-01-31 Andrew Pinski <pinskia@physics.uc.edu>
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
More information about the Gcc-bugs
mailing list