This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r124769 - in /branches/gcc-4_2-branch/gcc: fort...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 16 May 2007 13:36:04 -0000
- Subject: r124769 - in /branches/gcc-4_2-branch/gcc: fort...
Author: fxcoudert
Date: Wed May 16 13:36:03 2007
New Revision: 124769
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124769
Log:
PR fortran/31725
* trans-expr.c (gfc_conv_substring): Evaluate substring bounds
only once.
* gfortran.dg/substr_4.f: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/substr_4.f
- copied unchanged from r124720, trunk/gcc/testsuite/gfortran.dg/substr_4.f
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/trans-expr.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog