summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-30 12:03:47 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-30 12:03:47 +0000
commita2061b70868a5e4603b4d2ac9cf159f46538a638 (patch)
tree8b69291758dc2c8cf9572817b9c7b8edfd062b46 /gcc/tree-ssa-alias.c
parent58c50d3ffedc70844cc2d28a75c369eb9e95e35b (diff)
downloadgcc-a2061b70868a5e4603b4d2ac9cf159f46538a638.tar.gz
* tree.h (DECL_CALL_CLOBBERED): Remove.
(tree_decl_common): Remove call_clobbered flag. * tree-flow.h (struct var_ann_d): Add call_clobbered flag. * tree-ssa-alias.c (mark_non_addressable, reset_cc_flags): Update. * tree-flow-inline.h (is_call_clobbered, mark_call_clobbered, clear_call_clobbered): Update. * tree-ssa.c (verify_call_clobbering): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 2ef529707cd..7aff7ee854d 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -126,7 +126,7 @@ mark_non_addressable (tree var)
mpt = memory_partition (var);
if (!MTAG_P (var))
- DECL_CALL_CLOBBERED (var) = false;
+ var_ann (var)->call_clobbered = false;
bitmap_clear_bit (gimple_call_clobbered_vars (cfun), DECL_UID (var));
TREE_ADDRESSABLE (var) = 0;
@@ -3266,7 +3266,7 @@ struct tree_opt_pass pass_create_structure_vars =
0 /* letter */
};
-/* Reset the DECL_CALL_CLOBBERED flags on our referenced vars. In
+/* Reset the call_clobbered flags on our referenced vars. In
theory, this only needs to be done for globals. */
static unsigned int
@@ -3276,7 +3276,7 @@ reset_cc_flags (void)
referenced_var_iterator rvi;
FOR_EACH_REFERENCED_VAR (var, rvi)
- DECL_CALL_CLOBBERED (var) = false;
+ var_ann (var)->call_clobbered = false;
return 0;
}