Jakub Jelinek <ja...@redhat.com> writes:

> between static var initializers inside of a function and outside of
> functions.  Apparently we've done that earlier, but only at -O1 and above
> where decl_constant_value would be called and in initializers inside of
> functions would fold to DECL_INITIAL if other conditions are met, but
> outside of functions never.  With my recent changes this is the case
> also at -O0.
>
> The following patch allows such folding (in initializers only) also
> outside of functions.

Thanks.

Ian

Reply via email to