https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066
--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sat Feb 16 16:12:51 2019 New Revision: 268960 URL: https://gcc.gnu.org/viewcvs?rev=268960&root=gcc&view=rev Log: 2019-02-17 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/71066 * 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-17 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/71066 * gfortran.dg/coarray_data_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray_data_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog