This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [lto][patch] Last of the "don't write DECL_CONTEXT" series.


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.

Excellent.

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

OK.


Diego.


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