This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r198139 - in /branches/gcc-4_8-branch/gcc: fort...
- From: mikael at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 22 Apr 2013 14:07:29 -0000
- Subject: r198139 - in /branches/gcc-4_8-branch/gcc: fort...
Author: mikael
Date: Mon Apr 22 14:07:29 2013
New Revision: 198139
URL: http://gcc.gnu.org/viewcvs?rev=198139&root=gcc&view=rev
Log:
2013-04-22 Thomas Koenig <tkoenig@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/56872
* frontend-passes.c (copy_walk_reduction_arg): Change argument type
to gfc_constructor. If it has an iterator, wrap the copy of its
expression in an array constructor with that iterator. Don't special
case function expressions.
(callback_reduction): Update caller. Don't return early if there is
an iterator.
2013-04-22 Thomas Koenig <tkoenig@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/56872
* gfortran.dg/array_constructor_45.f90: New test.
* gfortran.dg/array_constructor_46.f90: New test.
* gfortran.dg/array_constructor_47.f90: New test.
* gfortran.dg/array_constructor_40.f90: Adjust number of
while loops.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/array_constructor_45.f90
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/array_constructor_46.f90
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/array_constructor_47.f90
Modified:
branches/gcc-4_8-branch/gcc/fortran/ChangeLog
branches/gcc-4_8-branch/gcc/fortran/frontend-passes.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/array_constructor_40.f90