frontend-passes.c (cfe_register_funcs): Also register character functions if their...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 22 May 2011 10:38:09 +0000 (10:38 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 22 May 2011 10:38:09 +0000 (10:38 +0000)
commit42a2717cb7efd5f685f158304807668b30307cb0
tree6d75073bdeaba189f447c9d503bf807a5f7c390d
parente38fdc948a93ebe926ecbd243f1f78dbe018b853
frontend-passes.c (cfe_register_funcs): Also register character functions if their charlens are known and constant.

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

* frontend-passes.c (cfe_register_funcs):  Also register
character functions if their charlens are known and constant.
Also register allocatable functions.

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

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

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