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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 20 17:25:39 2019
New Revision: 279660

URL: https://gcc.gnu.org/viewcvs?rev=279660&root=gcc&view=rev
Log:
        Backported from mainline
        2019-11-27  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/91944
        * simplify.c (gfc_simplify_spread): Check gfc_init_expr_flag instead
        of gfc_current_ns->sym_root->n.sym->attr.flavor == FL_PARAMETER.

        * gfortran.dg/spread_size_limit_2.f90: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/spread_size_limit_2.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/simplify.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to