r269155 - in /branches/gcc-7-branch/gcc: fortra...

tkoenig@gcc.gnu.org tkoenig@gcc.gnu.org
Sat Feb 23 11:49:00 GMT 2019


Author: tkoenig
Date: Sat Feb 23 11:49:47 2019
New Revision: 269155

URL: https://gcc.gnu.org/viewcvs?rev=269155&root=gcc&view=rev
Log:
2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/71066
	Backport from trunk
	* trans-decl.c (generate_coarray_sym_init):  For an array
	constructor in a DATA statement of a coarray variable, set the
	rank to 1 to avoid confusion later on.  If the constructor
	contains only one value, use that for initiailizig.

2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/71066
	Backport from trunk
	* gfortran.dg/coarray_data_1.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_data_1.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list