gimplify.c (find_single_pointer_decl_1): New static function.
commit0b494699b41f22f5392c7f2f5f4683e96b8fc0cd
authorIan Lance Taylor <ian@airs.com>
Mon, 3 Oct 2005 08:43:45 +0000 (3 08:43 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Oct 2005 08:43:45 +0000 (3 08:43 +0000)
tree12db18961c42def11ca08dfd5229612afd843c31
parent644cb69f803dc904c271885272e70f032ce56a97
gimplify.c (find_single_pointer_decl_1): New static function.

* 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.

From-SVN: r104890
gcc/ChangeLog
gcc/alias.c
gcc/gimplify.c
gcc/tree.c
gcc/tree.h