r173752 - in /trunk/gcc: fortran/ChangeLog fort...

tkoenig@gcc.gnu.org tkoenig@gcc.gnu.org
Sat May 14 09:48:00 GMT 2011


Author: tkoenig
Date: Sat May 14 09:48:08 2011
New Revision: 173752

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173752
Log:
2011-05-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/22572
	* frontend-passes.c (cfe_register_funcs):  Also register functions
	for potential elimination if the rank is > 0, the shape is unknown
	and reallocate on assignment is active.
	(create_var):  For rank > 0 functions with unknown shape, create
	an allocatable temporary.

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

	PR fortran/22572
	* function_optimize_7.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/function_optimize_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list