re PR fortran/48412 (CP2K miscompiled due to some Fortran frontend pass)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 4 Apr 2011 20:22:21 +0000 (20:22 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 4 Apr 2011 20:22:21 +0000 (20:22 +0000)
commit128e09f93d6fa5fc367ad2be059c6dd674ef1049
tree58f550f5722fb6ab76045f077f43698d59c89d4c
parente5b0e1cab42d2b6e364e856dcdade434b8241c17
re PR fortran/48412 (CP2K miscompiled due to some Fortran frontend pass)

2011-04-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48412
* frontend-passes (cfe_expr_0):  Reverse the order of going
through the loops.

2011-04-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48412
* function_optimize_4.f90:  New test.

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