aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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 9145ba4..2138bf6 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 70a2dad..928e8c4 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 1577a9c..0eeee60 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