[lto][patch] Last of the "don't write DECL_CONTEXT" series.

Diego Novillo dnovillo@google.com
Wed Jan 28 15:06:00 GMT 2009

On Wed, Jan 28, 2009 at 08:21, Rafael Espindola <espindola@google.com> wrote:

> With this patch we only write the context of FIELD_DECL and they are
> not a problem for the moment.


> 2009-01-28  Rafael Avila de Espindola  <espindola@google.com>
>        * lto-function-in.c (input_local_var_decl): Set DECL_CONTEXT to
>        fn->decl.
>        * lto-function-out.c (output_local_var_decl): Add the FN argument.
>        Assert DECL_CONTEXT is fn.
>        (output_local_decl): Add the FN argument. Pass it to
>        output_local_var_decl.
>        (output_local_vars): Pass fn->decl to output_local_decl.



More information about the Gcc-patches mailing list