re PR fortran/84931 (Expansion of array constructor with constant implied-do-object...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 19 Mar 2018 07:04:35 +0000 (07:04 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 19 Mar 2018 07:04:35 +0000 (07:04 +0000)
commit949d0060b422c03f809fcd17883470c20a15ff4a
treea4debf79b5621aeb0c3992b8a9adc66491b0d25e
parent43bb589d9b79360168c9a4583fb90299a2cf94d8
re PR fortran/84931 (Expansion of array constructor with constant implied-do-object goes sideways)

2018-03-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84931
* simplify.c (gfc_convert_constant): Correctly handle iterators
for type conversion.

2018-03-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84931
* gfortran.dg/array_constructor_52.f90: New test.

From-SVN: r258641
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_constructor_52.f90 [new file with mode: 0644]