https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83184
--- Comment #7 from Fritz Reese <foreese at gcc dot gnu.org> --- Author: foreese Date: Mon Jul 16 23:35:39 2018 New Revision: 262759 URL: https://gcc.gnu.org/viewcvs?rev=262759&root=gcc&view=rev Log: 2018-07-16 Fritz Reese <fritzore...@gmail.com> gcc/testsuite/ChangeLog: PR fortran/83184 Backport from trunk. * gfortran.dg/assumed_rank_14.f90: New testcase. * gfortran.dg/assumed_rank_15.f90: New testcase. * gfortran.dg/dec_structure_8.f90: Update error messages. * gfortran.dg/dec_structure_23.f90: Update error messages. gcc/fortran/ChangeLog: PR fortran/83184 Backport from trunk. * decl.c (match_old_style_init): Initialize locus of variable expr when creating a data variable. (match_clist_expr): Verify array is explicit shape/size before attempting to allocate constant array constructor. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/assumed_rank_14.f90 - copied unchanged from r262747, branches/gcc-8-branch/gcc/testsuite/gfortran.dg/assumed_rank_14.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/assumed_rank_15.f90 - copied unchanged from r262747, branches/gcc-8-branch/gcc/testsuite/gfortran.dg/assumed_rank_15.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/dec_structure_23.f90 Modified: branches/gcc-7-branch/ (props changed) branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/dec_structure_8.f90 Propchange: branches/gcc-7-branch/ ('svn:mergeinfo' modified)