This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176963 - in /branches/gcc-4_6-branch/gcc: fort...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 30 Jul 2011 21:33:12 -0000
- Subject: r176963 - in /branches/gcc-4_6-branch/gcc: fort...
Author: tkoenig
Date: Sat Jul 30 21:33:11 2011
New Revision: 176963
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176963
Log:
2011-07-30 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk.
PR fortran/48876
* expr.c (gfc_simplify_expr): If end of a string is less
than zero, set it to zero.
2011-07-30 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk.
PR fortran/48876
* gfortran.dg/string_5.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/string_5.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog