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
This commit is contained in:
Diego Novillo 2000-11-21 21:00:20 +00:00 committed by Diego Novillo
parent 819004bbd0
commit d1cc928a7b
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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;