https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83633
--- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Feb 25 16:50:50 2018 New Revision: 257971 URL: https://gcc.gnu.org/viewcvs?rev=257971&root=gcc&view=rev Log: 2018-02-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/83633 * decl.c (variable_decl): Check that an explicit-shape-array with nonconstant bounds is allowed. 2018-02-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/83633 * gfortran.dg/explicit_shape_1.f90: New test. * gfortran.dg/automatic_module_variable.f90: Update regex. * gfortran.dg/bad_automatic_objects_1.f90: Ditto. * gfortran.dg/constant_shape.f90: Ditto. * gfortran.dg/dec_structure_23.f90: Ditto. * gfortran.dg/pr78240.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/explicit_shape_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/automatic_module_variable.f90 trunk/gcc/testsuite/gfortran.dg/bad_automatic_objects_1.f90 trunk/gcc/testsuite/gfortran.dg/constant_shape.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90 trunk/gcc/testsuite/gfortran.dg/pr78240.f90