diff options
author | Diego Novillo <dnovillo@redhat.com> | 2000-11-21 21:00:20 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2000-11-21 16:00:20 -0500 |
commit | d1cc928a7bddcc912ebe61a0b4f73e7ffe277bc6 (patch) | |
tree | 09265f8e12ceb8308d2d8b2bab6e019e59a5355c /gcc | |
parent | 819004bbd0fa807b93a7caeef206517d9259b65f (diff) | |
download | gcc-d1cc928a7bddcc912ebe61a0b4f73e7ffe277bc6.zip gcc-d1cc928a7bddcc912ebe61a0b4f73e7ffe277bc6.tar.gz gcc-d1cc928a7bddcc912ebe61a0b4f73e7ffe277bc6.tar.bz2 |
gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as visited before visiting it.
2000-11-21 Diego Novillo <dnovillo@redhat.com>
* gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
visited before visiting it.
From-SVN: r37627
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcse.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3fc10a..b2aaad7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-11-21 Diego Novillo <dnovillo@redhat.com> + + * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as + visited before visiting it. + 2000-11-21 Nick Clifton <nickc@redhat.com> * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi, @@ -5327,7 +5327,6 @@ hoist_expr_reaches_here_p (expr_bb, expr_index, bb, visited) visited = xcalloc (n_basic_blocks, 1); } - visited[expr_bb] = 1; for (pred = BASIC_BLOCK (bb)->pred; pred != NULL; pred = pred->pred_next) { int pred_bb = pred->src->index; |