This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Mar 2018 22:03:33 +0000
- Subject: [Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways
- Auto-submitted: auto-generated
- References: <bug-84931-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84931
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Mar 19 22:03:01 2018
New Revision: 258666
URL: https://gcc.gnu.org/viewcvs?rev=258666&root=gcc&view=rev
Log:
2018-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/84931
Backport from trunk
* simplify.c (gfc_convert_constant): Correctly handle iterators
for type conversion.
2018-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/84931
Backport from trunk
* gfortran.dg/array_constructor_52.f90: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/array_constructor_52.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/simplify.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog