OSDN Git Service

2012-04-07 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Apr 2012 20:27:02 +0000 (20:27 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Apr 2012 20:27:02 +0000 (20:27 +0000)
commit97acff4ca5e4b5242e1e10a9a8f26d389e67d984
treef1c5089c0e9ef863c971116f215d6492a07ab5ba
parentc7882332e6d0ef6d43814e4cce888977982db7d1
2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52893
Backport from trunk
* 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
Backport from trunk
* gfortran.dg/function_optimize_11.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186215 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]