summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-12 23:07:53 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-12 23:07:53 +0000
commit7b346fd91e68676b421cf0112d8d8dcfc9274d3f (patch)
treec3d33f6377f8775889ac7c774756bf8382becacb /gcc/tree-ssa-alias.c
parentca67ec1caefd14f541131274ae30fda08fe10192 (diff)
downloadgcc-7b346fd91e68676b421cf0112d8d8dcfc9274d3f.tar.gz
2006-01-11 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-operands.c (add_call_clobber_ops): Use SFT_PARENT_VAR to try to avoid clobbering pieces of structures when we know something about the whole structure. * tree-ssa-alias.c (create_sft): Set SFT_PARENT_VAR git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index cb5deade167..212f58733bb 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -2536,6 +2536,7 @@ create_sft (tree var, tree field)
ann = get_var_ann (subvar);
ann->type_mem_tag = NULL;
add_referenced_tmp_var (subvar);
+ SFT_PARENT_VAR (subvar) = var;
return subvar;
}