cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.
authorDaniel Berlin <dberlin@dberlin.org>
Sat, 4 Jun 2005 17:22:21 +0000 (17:22 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Sat, 4 Jun 2005 17:22:21 +0000 (17:22 +0000)
commit833b3afe497cd2430838ddd8a9b1ab9c9b0ba4f2
tree7157b77ca7d19813485d549c8f67ec67a23aee72
parent610d24786dd3e1f9d828b94def29961e7da987cc
cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.

2005-06-01  Daniel Berlin  <dberlin@dberlin.org>

* cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.
* dwarf2out.c (loc_descriptor_from_tree_1): Ditto.
* expr.c (expand_var): Ditto.
* function.c (gimplify_parameters): Use SET_DECL_VALUE_EXPR too.
* gimplify.c (gimplify_decl_expr): Ditto.
(gimplify_expr): Ditto.
* tree-mudflap.c (mf_decl_eligible_p): Use DECL_HAS_VALUE_EXPR_P.
* tree.c (value_expr_for_decl): New.
(print_value_expr_statistics): New.
(init_ttree): Init value_expr_for_decl.
(decl_value_expr_lookup): New.
(decl_value_expr_insert): Ditto.
(copy_node_stat): Copy DECL_VALUE_EXPR status.
* tree.h (DECL_VALUE_EXPR): Use hashtable.
(SET_DECL_VALUE_EXPR): New.
(DECL_HAS_VALUE_EXPR_P): New.

From-SVN: r100592
gcc/ChangeLog
gcc/cfgexpand.c
gcc/dwarf2out.c
gcc/expr.c
gcc/function.c
gcc/gimplify.c
gcc/tree-mudflap.c
gcc/tree.c
gcc/tree.h