diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-01 00:39:49 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-01 00:39:49 +0000 |
commit | 8bc1e6ff529ff25196f82b854b7e7fe252d0d029 (patch) | |
tree | 916b04dcdacaf7602bfac6975c23a7d34d9b5870 /gcc/tree-sra.c | |
parent | cc46fb3056cb2f7fc79241a57bd1c9240327dc52 (diff) | |
download | gcc-8bc1e6ff529ff25196f82b854b7e7fe252d0d029.tar.gz |
2005-05-30 Daniel Berlin <dberlin@dberlin.org>
* c-objc-common.c (c_tree_printer): Check flag before hashtable.
Use DECL_DEBUG_EXPR and SET_DECL_DEBUG_EXPR.
* dwarf2out.c (dwarf2out_var_location): Ditto.
* toplev.c (default_tree_printer): Ditto.
* tree-outof-ssa.c (create_temp): Ditto.
* tree-sra.c (instantiate_element): Ditto.
* var-tracking.c (track_expr_p): Ditto.
* tree.c (struct tree_map): New structure.
(debug_expr_for_decl): New.
(tree_map_eq): New function.
(tree_map_hash): Ditto.
(tree_map_marked_p): Ditto.
(print_debug_expr_statistics): Ditto.
(decl_debug_expr_lookup): Ditto.
(decl_debug_expr_insert): Ditto.
(dump_tree_statistics): Dump debug_expr hashtable stats.
* tree.h (DECL_DEBUG_EXPR): Change
(SET_DECL_DEBUG_EXPR): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100417 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 78cd03b7bf5..811f675fd38 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1126,9 +1126,9 @@ instantiate_element (struct sra_elt *elt) DECL_NAME (var) = get_identifier (pretty_name); obstack_free (&sra_obstack, pretty_name); - DECL_DEBUG_EXPR (var) = generate_element_ref (elt); + SET_DECL_DEBUG_EXPR (var, generate_element_ref (elt)); DECL_DEBUG_EXPR_IS_FROM (var) = 1; - + DECL_IGNORED_P (var) = 0; TREE_NO_WARNING (var) = TREE_NO_WARNING (base); } |