diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 15:42:42 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 15:42:42 +0000 |
commit | 7b4fe863dd609e49323d9b07781a0b09d75ad9e5 (patch) | |
tree | fcd1799790e1d7dc50550889d7cface318a63fd3 /gcc/tree-ssa-propagate.c | |
parent | 9d66bad9486e89292f42554c3328412995166058 (diff) | |
download | gcc-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
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r-- | gcc/tree-ssa-propagate.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |