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] Don't write DECL_CONTEXT for function_decl. Add asserts to the writer


On Tue, Jan 20, 2009 at 12:43, Rafael Espindola <espindola@google.com> wrote:

> 2009-01-20  Rafael Avila de Espindola  <espindola@google.com>
>
>        * lto-function-out.c (output_inits_in_decl_state,
> output_remaining_constructors_and_inits,
>        output_all_constructors_and_inits): Assert that if there is a context
> it is a FUNCTION_DECL.
>        (output_function_decl): Don't write decl->decl_minimal.context.
>        * lto-function-in.c (input_function_decl): Don't read
> decl->decl_minimal.context.

Patch is missing.  Based on the CL entry, it seems OK though.


Diego.


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