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
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_6