summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 15:42:42 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 15:42:42 +0000
commit7b4fe863dd609e49323d9b07781a0b09d75ad9e5 (patch)
treefcd1799790e1d7dc50550889d7cface318a63fd3
parent9d66bad9486e89292f42554c3328412995166058 (diff)
downloadgcc-7b4fe863dd609e49323d9b07781a0b09d75ad9e5.tar.gz
* tree-ssa-ccp.c (ccp_visit_stmt): Remove #if 0 guards.
* tree-ssa-propagate.c: Fix documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86726 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-ccp.c2
-rw-r--r--gcc/tree-ssa-propagate.c4
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9145ba4726f..2138bf64bc5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-29 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-ssa-ccp.c (ccp_visit_stmt): Remove #if 0 guards.
+ * tree-ssa-propagate.c: Fix documentation.
+
2004-08-29 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.md (*mov[sd]f_on_*): Redefine using :SCALARF.
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c
index 70a2dadd023..928e8c4fcb7 100644
--- a/gcc/tree-ssa-ccp.c
+++ b/gcc/tree-ssa-ccp.c
@@ -1168,10 +1168,8 @@ ccp_visit_stmt (tree stmt, edge *taken_edge_p, tree *output_p)
/* Any other kind of statement is not interesting for constant
propagation and, therefore, not worth simulating. */
-#if 0
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "No interesting values produced. Marked VARYING.\n");
-#endif
/* Definitions made by statements other than assignments to
SSA_NAMEs represent unknown modifications to their outputs.
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index 1577a9c0b5a..0eeee606ab5 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -50,7 +50,7 @@
proceeds as follows:
1- Initially, all edges of the CFG are marked not executable and
- the CFG worklist seeded with all the statements in the entry
+ the CFG worklist is seeded with all the statements in the entry
basic block (block 0).
2- Every statement S is simulated with a call to the call-back
@@ -75,7 +75,7 @@
3- PHI nodes are simulated with a call to SSA_PROP_VISIT_PHI. The
return value from SSA_PROP_VISIT_PHI has the same semantics as
- described in #3.
+ described in #2.
4- Three work lists are kept. Statements are only added to these
lists if they produce one of SSA_PROP_INTERESTING or