https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83633
--- Comment #12 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Feb 25 17:32:36 2018 New Revision: 257974 URL: https://gcc.gnu.org/viewcvs?rev=257974&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. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/explicit_shape_1.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/decl.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gfortran.dg/automatic_module_variable.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/bad_automatic_objects_1.f90