2012-04-29 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Apr 2012 07:12:03 +0000 (07:12 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Apr 2012 07:12:03 +0000 (07:12 +0000)
commitb2fa4782e2fdf6151f5d5283a34e9f120c4cfa3c
treef047a54fdce92d366bf2790915eec148ec7a6365
parent9534cf538459fddc9868669a669f6dab422f751b
2012-04-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/53148
* frontend-passes.c (create_var):  If the statement has a label,
put the label around the block.

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

PR fortran/53148
* gfortran.dg/function_optimize_12.f90:  New test.

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