This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 50960 - Mark PARAMETER as TREE_READONLY


On Thu, Nov 03, 2011 at 11:06:15PM +0100, Tobias Burnus wrote:
> Dear all,
> 
> gfortran stores PARAMETERS which are array or derived types as global 
> static variable. This prevents the compiler from optimizing those 
> parameters.
> 
> Using TREE_READONLY, one can allow the compiler to make use of the 
> values and do further optimizations.
> 
> Build and regtested on x86_64-linux.
> OK for the trunk?

OK.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]