Re: [patch, fortran] Some more function elimination tweaks

2011-05-22 Thread Thomas Koenig
Hi Steve, * frontend-passes.c (cfe_register_funcs): Also register character functions if their charlens are known and constant. Also register allocatable functions. 2011-05-18 Thomas Koenig * gfortran.dg/function_optimize_8.f90: New test case. OK. Wai

Re: [patch, fortran] Some more function elimination tweaks

2011-05-21 Thread Steve Kargl
On Wed, May 18, 2011 at 10:58:18PM +0200, Thomas Koenig wrote: > > - It removes the restriction on functions returning allocatables > for elimination (unnecessary since the introduction of allocatable > temporary variables) > > - It allows character function elimination if the character lengt

[patch, fortran] Some more function elimination tweaks

2011-05-18 Thread Thomas Koenig
Hello world, the attached patch does the following: - It removes the restriction on functions returning allocatables for elimination (unnecessary since the introduction of allocatable temporary variables) - It allows character function elimination if the character length is a constant kno