From a2061b70868a5e4603b4d2ac9cf159f46538a638 Mon Sep 17 00:00:00 2001 From: hubicka Date: Sat, 30 Dec 2006 12:03:47 +0000 Subject: * 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 --- gcc/tree-ssa-alias.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/tree-ssa-alias.c') 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; } -- cgit v1.2.1