re PR fortran/85102 (ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsi...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 2 Apr 2018 16:47:48 +0000 (16:47 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 2 Apr 2018 16:47:48 +0000 (16:47 +0000)
commit078c5aff5ed83e9c237f3090e947860314838e00
treeb81a2e4f6cf9728908b1970f8a5c4ef93655ee7b
parentc54a138f843e86571ff8a3ff29dbddf1d4489849
re PR fortran/85102 (ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4464)

2018-04-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85102
* decl.c (variable_decl): If upper or lower bounds simplify
to a constant, use that.

2018-04-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85102
* gfortran.dg/array_simplify_2.f90: New test.

From-SVN: r259014
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_simplify_2.f90 [new file with mode: 0644]