https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203
--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sat Mar 9 14:10:17 2019 New Revision: 269526 URL: https://gcc.gnu.org/viewcvs?rev=269526&root=gcc&view=rev Log: 2019-03-09 Thomas König <tkoe...@gcc.gnu.org> PR fortran/71203 * decl.c (add_init_expr_to_sym): Add shape if init has none. Add assert that it has to be an EXPR_ARRAY in this case. 2019-03-09 Thomas König <tkoe...@gcc.gnu.org> PR fortran/71203 * gfortran.dg/array_simplify_3.f90: New test case. Added: trunk/gcc/testsuite/gfortran.dg/array_simplify_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog