[Bug fortran/91944] [8/9 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6156
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 20 17:26:00 GMT 2019
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 <jakub@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
More information about the Gcc-bugs
mailing list