r260170 - in /branches/gcc-8-branch/gcc: fortra...

kargl@gcc.gnu.org kargl@gcc.gnu.org
Fri May 11 17:31:00 GMT 2018


Author: kargl
Date: Fri May 11 17:30:57 2018
New Revision: 260170

URL: https://gcc.gnu.org/viewcvs?rev=260170&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-8-branch/gcc/testsuite/gfortran.dg/pr85521_1.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85521_2.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/array.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list