aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-operands.c11
2 files changed, 6 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9418f08..3489245 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-08 Jan Hubicka <jh@suse.cz>
+
+ * tree-ssa-operands.c (add_stmt_operand): Use V_MUST_DEF even for
+ variables being alias set.
+
2004-09-08 Nathan Sidwell <nathan@codesourcery.com>
* final.c (shorten_branches, final, get_insn_template,
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index cf46d8e..c11360d 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -1487,16 +1487,7 @@ add_stmt_operand (tree *var_p, tree stmt, int flags)
/* The variable is not aliased or it is an alias tag. */
if (flags & opf_is_def)
{
- if (v_ann->is_alias_tag)
- {
- /* Alias tagged vars get V_MAY_DEF to avoid breaking
- def-def chains with the other variables in their
- alias sets. */
- if (s_ann)
- s_ann->makes_aliased_stores = 1;
- append_v_may_def (var);
- }
- else if (flags & opf_kill_def)
+ if (flags & opf_kill_def)
{
#if defined ENABLE_CHECKING
/* Only regular variables may get a V_MUST_DEF