re PR fortran/48405 (Handle expressions in DO loops for front-end optimization)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 21 Apr 2011 19:23:34 +0000 (19:23 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 21 Apr 2011 19:23:34 +0000 (19:23 +0000)
commit82358e093f3e4d3884140c0d316ccdcd4a70e8ee
treee461eb8d050e730b39adc8c48aed01df02c7687d
parent6ddfda8a98c084192e8fd16c56b722fddf53dc5a
re PR fortran/48405 (Handle expressions in DO loops for front-end optimization)

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

PR fortran/48405
* frontend_passes (cfe_register_funcs): Remove workaround for DO
loops.
(gfc_code_walker):  Make sure the pointer to the current
statement doen't change when other statements are inserted.

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

PR fortran/48405
* gfortran.dg/function_optimize_6.f90:  New test.

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