diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-30 22:10:47 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-30 22:10:47 +0000 |
commit | 10eb6bce2f0f650de299e79316ba4e02863e7da8 (patch) | |
tree | f6eaaa98001b2da1eb839c4603dc4bf351b73e15 /gcc/tree-ssa-operands.c | |
parent | 1d09f0e68f9152817a7f896505d8c6dbe7e14e01 (diff) | |
download | gcc-10eb6bce2f0f650de299e79316ba4e02863e7da8.tar.gz |
2005-03-30 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Make sure
subvars get marked properly in tags for grouping.
(add_pointed_to_var): Mark only actual pointed to
variables/subvars in addresses needed.
(create_overlap_variables_for): Clear call clobbered on original
variable.
* tree-ssa-operands.c (get_asm_expr_operands): Don't let regular
addresable vars with subvars into list.
* tree-ssa.c (verify_ssa_name): Verify original is not used where
subvar should be.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 1ef06db602f..916814dc4de 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1370,6 +1370,17 @@ get_asm_expr_operands (tree stmt) EXECUTE_IF_SET_IN_BITMAP (addressable_vars, 0, i, bi) { tree var = referenced_var (i); + + /* Subvars are explicitly represented in this list, so + we don't need the original to be added to the clobber + ops, but the original *will* be in this list because + we keep the addressability of the original + variable up-to-date so we don't screw up the rest of + the backend. */ + if (var_can_have_subvars (var) + && get_subvars_for_var (var) != NULL) + continue; + add_stmt_operand (&var, s_ann, opf_is_def); } |