[Bug fortran/83633] gfortran internal compiler error for explicit-shape array with non-constant bounds

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 25 17:22:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83633

--- Comment #9 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sun Feb 25 17:08:51 2018
New Revision: 257972

URL: https://gcc.gnu.org/viewcvs?rev=257972&root=gcc&view=rev
Log:
2018-02-25  Steven G. Kargl  <kargl@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  <kargl@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.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/explicit_shape_1.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/decl.c
   
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/automatic_module_variable.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/bad_automatic_objects_1.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/constant_shape.f90


More information about the Gcc-bugs mailing list