frontend-passes.c (optimize_assignment): Follow chains of concatenation operators...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 11 Jun 2011 08:22:35 +0000 (08:22 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 11 Jun 2011 08:22:35 +0000 (08:22 +0000)
commitb5ee9d1c0d9955335e7d8a0cf7653f44d0afb2ab
treefde0740af1e7c95d4eb70f492675b55b2699317c
parent891daafaf87384c823ff5186562e5132f246a9e4
frontend-passes.c (optimize_assignment): Follow chains of concatenation operators to the end for removing trailing TRIMS...

2011-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

* frontend-passes.c (optimize_assignment): Follow chains
of concatenation operators to the end for removing trailing
TRIMS for assignments.

2011-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

* gfortran.dg/trim_optimize_7.f90:  New test.

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