frontend-passes.c (remove_trim): New function.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 13 Jun 2011 08:36:47 +0000 (08:36 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 13 Jun 2011 08:36:47 +0000 (08:36 +0000)
commit4f21f0daa3b108e1e38be13234e4f6119aa1c33b
tree691183784964b2e8e6e27bcd2e1e73b4a0358794
parent29f85237429f703cba263de53a491426b1642d1c
frontend-passes.c (remove_trim): New function.

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

* frontend-passes.c (remove_trim):  New function.
(optimize_assignment):  Use it.
(optimize_comparison):  Likewise.  Return correct status
for previous change.

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

* gfortran.dg/trim_optimize_8.f90:  New test case.

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