[patch, fortran] PR 47065 - some more trim optimizations

Mikael Morin mikael.morin@sfr.fr
Thu Feb 24 00:11:00 GMT 2011


On Sunday 20 February 2011 14:09:32 Thomas Koenig wrote:
> Hello world,
> 
> the attached patch does the trim optimizations when there are
> references, except substring references.  This was made possible by
> Paul's fix to PR 47348.  Regression-tested.
> 
> OK for trunk?  Or should I rather wait until 4.6 is released?

This looks good, but it doesn't seem to fix some broken things (in which case 
it is not for stage4). Please ping or repost during stage1.

Mikael

PS: by the way this chunk before the impure check must probably be updated:
   if (a->expr_type != EXPR_VARIABLE)
     return false;



More information about the Fortran mailing list