[lto][patch] Fix handling of DECL_CONTEXT of RESULT_DECLs. Don't write them to disk

Diego Novillo dnovillo@google.com
Thu Jan 22 12:37:00 GMT 2009


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.



More information about the Gcc-patches mailing list