diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-08-29 15:42:42 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-08-29 11:42:42 -0400 |
commit | 766ff1b11748f66da98c901b9498a90e72698c05 (patch) | |
tree | fcd1799790e1d7dc50550889d7cface318a63fd3 /gcc/tree-ssa-propagate.c | |
parent | 2435c4c1c8cc0a415821b89239a57f45df6dd968 (diff) | |
download | gcc-766ff1b11748f66da98c901b9498a90e72698c05.zip gcc-766ff1b11748f66da98c901b9498a90e72698c05.tar.gz gcc-766ff1b11748f66da98c901b9498a90e72698c05.tar.bz2 |
tree-ssa-ccp.c (ccp_visit_stmt): Remove #if 0 guards.
* tree-ssa-ccp.c (ccp_visit_stmt): Remove #if 0 guards.
* tree-ssa-propagate.c: Fix documentation.
From-SVN: r86726
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 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 |