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] Fix handling of DECL_CONTEXT of RESULT_DECLs. Don't write them to disk


On Thu, Jan 22, 2009 at 07:28, Rafael Espindola <espindola@google.com> wrote:

>        * lto-function-in.c (input_tree_with_context): New.
>        (input_tree_operand): Change signature. Pass fn to input_result_decl.
>        (input_function_decl): Use input_tree_with_context for the result.
>        (input_result_decl): Change signature. Don't read the context.
>        (input_tree): Implement with input_tree_with_context.
>        * lto-function-out.c (output_tree_with_context): New.
>        (output_function_decl): Use output_tree_with_context for the context.
>        (output_result_decl): Change signature. Assert the the context is
>        correct. Don't write it.
>        (output_tree): Implement with output_tree_with_context.
>        * omp-low.c (create_omp_child_function): Set DECL_CONTEXT of the
>        RESULT_DECL.

Patch is missing.


Diego.


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