2012-04-07 Thomas Koenig <tkoenig@gcc.gnu.org>
commitd5db953fad185741b83a332e8daefba097f66ad8
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Apr 2012 16:38:11 +0000 (7 16:38 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Apr 2012 16:38:11 +0000 (7 16:38 +0000)
treeb08aa45c1b30ee9777563511b083ff3029bd0c04
parent278fc7da37430081894264c466f07d3dfb5173c7
2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52893
* frontend-passes.c:  Keep track of wether we are in an implicit
DO loop; do not do function elimination if we are.

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

PR fortran/52893
* gfortran.dg/function_optimize_11.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186213 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/function_optimize_11.f90 [new file with mode: 0644]