2005-09-26 Daniel Berlin <dberlin@dberlin.org>
commit08e96bb39250258c0fb6cb1e14ec01fe987c6aec
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 17:05:53 +0000 (26 17:05 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 17:05:53 +0000 (26 17:05 +0000)
treed82254c8c3d7d7423036aa5765181a07548d618e
parentf29b42311aa6d85886d828a04a333512db60c6a2
2005-09-26  Daniel Berlin  <dberlin@dberlin.org>

* print-tree.c (print_node): Update to check for decl_common structure.
* tree-dfa.c (add_referenced_var): Tag's don't have DECL_INITIAL.
* tree-dump.c (dequeue_and_dump): Check for decl_common structure
before accessing DECL_ARTIFICIAL.
Handle new tree codes.
* tree-flow-inline.h (clear_call_clobbered): Update for tag
changes.
(unmodifiable_var_p): Ditto.
* tree-flow.h (mem_tag_kind): Remove.
(struct var_ann_d): Remove mem_tag_kind member.
* tree-gimple.c (is_gimple_reg): Tags are not gimple registers.
* tree-pretty-print.c (dump_generic_node): Handle tags.
* tree-ssa-alias.c (tag_marked_global): Update for tags.
(mark_tag_global): Ditto.
(init_transitive_clobber_worklist): Ditto.
(mark_aliases_call_clobbered): Ditto.
(compute_tag_properties): Ditto.
(init_alias_info): Ditto.
(group_aliases): Ditto.
(setup_pointers_and_addressables): Ditto.
(may_alias_p): Ditto.
(create_tag_raw): New function.
(create_memory_tag): Use it.
(dump_alias_info): Update for tags.
(may_be_aliased): Ditto.
(add_type_alias): Ditto.
(new_type_alias): Ditto.
(create_sft): Ditto.
(create_structure_vars): Ditto.
* tree-ssa-ccp.c (get_default_value): Ditto.
* tree-ssa-operands.c (get_expr_operands): Ditto.
(add_stmt_operand): Ditto.
(add_call_clobber_ops): Remove duplicated condition.
* tree-ssa.c (verify_flow_insensitive_alias_info): Update for
tags.
* tree-tailcall.c (suitable_for_tail_opt_p): Ditto.
* tree-vect-transform.c (vect_create_data_ref_ptr): Ditto.
* tree.c (init_ttree): Update structures for new tree codes.
(tree_code_size): Update sizes for new tree codes.
(make_node_stat): Don't try to set common things on minimal
structures.
(tree_node_structure): Update for tags.
(is_global_var): Ditto.
* tree.def: Add new tree codes.
* tree.h (MTAG_P): New macro.
(TREE_MEMORY_TAG_CHECK): Ditto.
(SSA_VAR_P): Update for tags.
(struct tree_memory_tag): New structure.
(MTAG_GLOBAL): New macro.
(union tree_node): Add memory tag member.
* treestruct.def (TS_MEMORY_TAG): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/improved-aliasing-branch@104646 138bc75d-0d04-0410-961f-82ee72b054a4
18 files changed:
gcc/ChangeLog.iab
gcc/print-tree.c
gcc/tree-dfa.c
gcc/tree-dump.c
gcc/tree-flow-inline.h
gcc/tree-flow.h
gcc/tree-gimple.c
gcc/tree-pretty-print.c
gcc/tree-ssa-alias.c
gcc/tree-ssa-ccp.c
gcc/tree-ssa-operands.c
gcc/tree-ssa.c
gcc/tree-tailcall.c
gcc/tree-vect-transform.c
gcc/tree.c
gcc/tree.def
gcc/tree.h
gcc/treestruct.def