This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r260180 - in /branches/gcc-6-branch/gcc: fortra...
- From: kargl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 May 2018 18:34:14 -0000
- Subject: r260180 - in /branches/gcc-6-branch/gcc: fortra...
Author: kargl
Date: Fri May 11 18:34:14 2018
New Revision: 260180
URL: https://gcc.gnu.org/viewcvs?rev=260180&root=gcc&view=rev
Log:
2018-05-11 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85521
Backport from trunk
* array.c (gfc_resolve_character_array_constructor): Substrings
with upper bound smaller than lower bound are zero length strings.
2018-05-11 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85521
Backport from trunk
* gfortran.dg/pr85521_1.f90: New test.
* gfortran.dg/pr85521_2.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85521_1.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85521_2.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/array.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog