From 9098a3ecee26d89fec8f055810988380a4d4580a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 11 Jun 2004 14:29:46 -0700 Subject: [PATCH] tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads and makes_aliased_stores. * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads and makes_aliased_stores. From-SVN: r83001 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-operands.c | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a96d563897..2490b8cac54 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-11 Richard Henderson + + * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads + and makes_aliased_stores. + 2004-06-11 Andrew Pinski * doc/install.text (--enable-shared): Fix typo. diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index b94a799946b..02380b66361 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -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); -- 2.30.2