re PR fortran/84931 (Expansion of array constructor with constant implied-do-object...
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 30 Mar 2018 12:33:49 +0000 (12:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 30 Mar 2018 12:33:49 +0000 (12:33 +0000)
commit0ada0dc0c6004d4fe7bca00b6a3c649e59306999
tree26e89d7f9687938924003e945a7382a82d1c827a
parent13b5a6bf00a5f472a9629fd6fc018765d8f3fd31
re PR fortran/84931 (Expansion of array constructor with constant implied-do-object goes sideways)

2018-03-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/84931
* simplify.c (gfc_convert_constant): Handle case of array
constructors within an array that has no iterator and improve
the conciseness of this section of code.

2018-03-30  Paul Thomas  <pault@gcc.gnu.org>

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

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