From d1cc928a7bddcc912ebe61a0b4f73e7ffe277bc6 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Tue, 21 Nov 2000 21:00:20 +0000 Subject: gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as visited before visiting it. 2000-11-21 Diego Novillo * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as visited before visiting it. From-SVN: r37627 --- gcc/ChangeLog | 5 +++++ gcc/gcse.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') 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 + + * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as + visited before visiting it. + 2000-11-21 Nick Clifton * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi, diff --git a/gcc/gcse.c b/gcc/gcse.c index ac87c93..25736df 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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; -- cgit v1.1