tree-ssa-operands.c (add_stmt_operand): Use V_MUST_DEF even for variables being alias...
authorJan Hubicka <jh@suse.cz>
Wed, 8 Sep 2004 17:36:39 +0000 (19:36 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 8 Sep 2004 17:36:39 +0000 (17:36 +0000)
* tree-ssa-operands.c (add_stmt_operand): Use V_MUST_DEF even for
variables being alias set.

From-SVN: r87193

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 9418f0859e280b607f958db2556c728b23fd0659..348924547ca10c82abd263066ccff48edc15047a 100644 (file)
@@ -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,
index cf46d8ebefd0f028b45f8a08b5c36cfb02154e35..c11360d94acfc411cf1bfdd23623b3d5a1db90f0 100644 (file)
@@ -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