diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2011-03-06 20:15:38 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2011-03-06 20:15:38 +0000 |
commit | 8e1e41e7afc6a9cc022c724f99f488029f22a680 (patch) | |
tree | e9edb9949d0537de89a1f09509893c31efd28885 /gcc/gimplify.c | |
parent | 787a8c0feb104e6de4349c9485becd7292c2c9f7 (diff) | |
download | gcc-8e1e41e7afc6a9cc022c724f99f488029f22a680.zip gcc-8e1e41e7afc6a9cc022c724f99f488029f22a680.tar.gz gcc-8e1e41e7afc6a9cc022c724f99f488029f22a680.tar.bz2 |
re PR fortran/47850 (ICE in gfc_conv_array_initializer)
2011-03-06 Paul Thomas <pault@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/47850
* expr.c (gfc_is_constant_expr): Only use gfc_constant_ac if
the expression has an iterator. Otherwise, iterate through the
array, checking for constant expressions for each element.
2011-03-06 Paul Thomas <pault@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/47850
* gfortran.dg/array_constructor_37.f90 : New test.
Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>
From-SVN: r170720
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions