]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-nested.c (build_addr): New "context" argument.
authorJeff Law <law@redhat.com>
Tue, 24 May 2005 20:19:13 +0000 (14:19 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 24 May 2005 20:19:13 +0000 (14:19 -0600)
commitbde6c65de1ecc893a1ac83a9d89aeb555359c450
tree929883b632ad4304f0f6c62c4f887885e3a41afc
parent04d0d7500ab88716be00db442865d93d3e4c5b7f
tree-nested.c (build_addr): New "context" argument.

        * tree-nested.c (build_addr): New "context" argument.  Temporarily
        set current_function_decl around the call to build the ADDR_EXPR.
        (get_static_chain): Pass proper context to build_addr.
        (convert_nl_goto_reference): Likewise.
        (convert_tramp_reference): Likewise.
        (final_nesting_tree_1): Likewise.
        * tree-profile.c (tree_gen_interval_profiler): Likewise.
        (tree_gen_pow2_profiler): Likewise.
        (tree_gen_one_value_profiler): Likewise.
        * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Likewise.
        * tree.h (build_addr): Update prototype.

From-SVN: r100110
gcc/ChangeLog
gcc/tree-nested.c
gcc/tree-profile.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree.h