expr.c (expand_expr_real_1): Don't handle non-local variables.
authorRichard Henderson <rth@redhat.com>
Fri, 23 Jul 2004 22:37:23 +0000 (15:37 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 23 Jul 2004 22:37:23 +0000 (15:37 -0700)
commitab8907ef75b71c987932a299bddf04cb73907c69
tree6fa3fcbf916c4e6bd0c3081ee4de2cf5ae950925
parent5aa33bdb4f75939b9467a4580aa13bb6997f192c
expr.c (expand_expr_real_1): Don't handle non-local variables.

        * expr.c (expand_expr_real_1): Don't handle non-local variables.
        * expr.h (fix_lexical_addr): Remove.
        * function.c (NEED_SEPARATE_AP): Remove.
        (fix_lexical_addr): Remove.
        * tree-alias-common.c (get_alias_var_decl): Check TREE_STATIC,
        not null decl_function_context.
        (create_alias_vars): Likewise.
        * tree-cfg.c (make_ctrl_stmt_edges): Don't check for non-local labels.
        (simple_goto_p): Likewise.
        * tree-dfa.c (add_referenced_var): Don't check for non-local variables.
        * tree-ssa-ccp.c (get_default_value): Likewise.
        * tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
        * tree.c (needs_to_live_in_memory): Likewise.
        * tree-flow-inline.h (may_be_aliased): Move...
        * tree-ssa-alias.c (may_be_aliased): ... here.  Enhance check for
        when TREE_STATIC variables may be addressable.

From-SVN: r85099
13 files changed:
gcc/ChangeLog
gcc/expr.c
gcc/expr.h
gcc/function.c
gcc/tree-alias-common.c
gcc/tree-cfg.c
gcc/tree-dfa.c
gcc/tree-flow-inline.h
gcc/tree-flow.h
gcc/tree-ssa-alias.c
gcc/tree-ssa-ccp.c
gcc/tree-tailcall.c
gcc/tree.c