re PR fortran/55806 (Missed optimization with ANY or ALL)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 14 Jan 2013 21:50:28 +0000 (21:50 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 14 Jan 2013 21:50:28 +0000 (21:50 +0000)
commite81e4b43e9e07cb115a9cb14d1bc2fdf8fab4c15
treed4cf804a87b9c0180dd979b0d2dd1b8a050f0cf2
parent5a0727d99003e061b89e016c036947951d0743d2
re PR fortran/55806 (Missed optimization with ANY or ALL)

2013-01-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55806
* frontend-passes.c (optimize_reduction):  New function,
including prototype.
(callback_reduction):  Likewise.
(gfc_run_passes):  Also run optimize_reduction.
(copy_walk_reduction_arg):  New function.
(dummy_code_callback):  New function.

2013-01-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55806
* gfortran.dg/array_constructor_40.f90:  New test.

From-SVN: r195179
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_constructor_40.f90 [new file with mode: 0644]