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


On Mon, Jan 26, 2009 at 17:42, Rafael Espindola <espindola@google.com> wrote:
> 2009-01-26  Rafael Avila de Espindola  <espindola@google.com>
>
>        * c-decl.c (merge_decls): Make sure newdecl and olddecl don't
>        share the arugment list.

s/arugment/argument/

>        * lto-function-in.c (input_function_decl): Pass the context
>        while reading the arguments.
>        (input_parm_decl): Add the FN argument. Set the contetxt to it.
>        (input_tree_operand): Update call to input_parm_decl.
>        * lto-function-out.c (output_function_decl): Pass the context
>        while writting the arguments.
>        (output_parm_decl): Add the FN argument. Check that it is
>        equal to the context.
>        (output_tree_with_context): Update the call to ouput_parm_decl.
>        * tree.c (free_lang_data_in_decl): Force every PARM_DECL to
>        point the the correct FUNCTION_DECL.

OK.


Diego.


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