OSDN Git Service

* gimplify.c (find_single_pointer_decl_1): New static function.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Oct 2005 08:43:45 +0000 (08:43 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Oct 2005 08:43:45 +0000 (08:43 +0000)
commit83b34c62d37b8b2626d357878bc4cf1fe2020851
tree12db18961c42def11ca08dfd5229612afd843c31
parent920e54ef4976f86f653c39104b54f82d7a38ff31
* gimplify.c (find_single_pointer_decl_1): New static function.
(find_single_pointer_decl): New static function.
(internal_get_tmp_var): For a formal variable, set restrict base
information if appropriate.
* alias.c (find_base_decl): If a VAR_DECL has a restrict base,
return it.
* tree.h (DECL_BASED_ON_RESTRICT_P): Define.
(DECL_GET_RESTRICT_BASE): Define.
(SET_DECL_RESTRICT_BASE): Define.
(decl_restrict_base_lookup): Declare.
(decl_restrict_base_insert): Declare.
(struct tree_decl_with_vis): Add based_on_restrict_p field.
* tree.c (restrict_base_for_decl): New static variable.
(init_ttree): Initialize restrict_base_for_decl.
(copy_node_stat): Copy restrict base information.
(decl_restrict_base_lookup): New function.
(decl_restrict_base_insert): New function.
(print_restrict_base_statistics): New static function.
(dump_tree_statistics): Call print_restrict_base_statistics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104890 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alias.c
gcc/gimplify.c
gcc/tree.c
gcc/tree.h