On Mon, Jun 13, 2011 at 12:24:02AM +0200, Thomas Koenig wrote: > Hello world, > > this is the last round of TRIM optimizations. This patch extends the > treatment of trailing TRIMs in concatenations to comparisions. It also > does a bit of code cleanup by removing some duplication, and by not > changing the rhs in optimize_assignment. > > OK for trunk? > > Thomas > > 2011-06-13 Thomas Koenig <tkoe...@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 <tkoe...@gcc.gnu.org> > > * gfortran.dg/trim_optimize_8.f90: New test case.
OK. -- Steve