OSDN Git Service

* tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2004 21:29:46 +0000 (21:29 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2004 21:29:46 +0000 (21:29 +0000)
        and makes_aliased_stores.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83001 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 4a96d56..2490b8c 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-11  Richard Henderson  <rth@redhat.com>
+
+       * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads
+       and makes_aliased_stores.
+
 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * doc/install.text (--enable-shared): Fix typo.
index b94a799..02380b6 100644 (file)
@@ -791,10 +791,11 @@ get_stmt_operands (tree stmt)
 
   timevar_push (TV_TREE_OPS);
 
-  /* Initially assume that the statement has no volatile operands.
-     Statements marked with 'has_volatile_ops' are not processed by the
-     optimizers.  */
+  /* Initially assume that the statement has no volatile operands, nor
+     makes aliased loads or stores.  */
   ann->has_volatile_ops = false;
+  ann->makes_aliased_stores = false;
+  ann->makes_aliased_loads = false;
 
   /* Remove any existing operands as they will be scanned again.  */
   free_defs (&(ann->def_ops), true);