From 2876e60ef910615fdc51bde6078d79cd9fb7ed88 Mon Sep 17 00:00:00 2001
From: kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 15 Apr 2005 16:53:12 +0000
Subject: [PATCH] 	* tree-ssa-alias.c (init_alias_info): Remove a call to
 	get_stmt_operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98195 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog        |  3 +++
 gcc/tree-ssa-alias.c | 14 --------------
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e0784ef5145e..a24d6b2aae66 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,9 @@
 	* basic-block.h (PROP_EQUAL_NOTES): Remove.
 	* flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.
 
+	* tree-ssa-alias.c (init_alias_info): Remove a call to
+	get_stmt_operands.
+
 2005-04-15  Andrew MacLeod  <amacleod@redhat.com>
 
 	* tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses 
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index c0bce922788c..13809670fa8f 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -505,21 +505,7 @@ init_alias_info (void)
   if (aliases_computed_p)
     {
       unsigned i;
-      basic_block bb;
   
-     /* Make sure that every statement has a valid set of operands.
-	If a statement needs to be scanned for operands while we
-	compute aliases, it may get erroneous operands because all
-	the alias relations are not built at that point.
-	FIXME: This code will become obsolete when operands are not
-	lazily updated.  */
-      FOR_EACH_BB (bb)
-	{
-	  block_stmt_iterator si;
-	  for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si))
-	    get_stmt_operands (bsi_stmt (si));
-	}
-
       /* Similarly, clear the set of addressable variables.  In this
 	 case, we can just clear the set because addressability is
 	 only computed here.  */
-- 
GitLab