From d1c6a4014429a8f3e3267c3f41c0be77b198fb38 Mon Sep 17 00:00:00 2001 From: Josef Zlomek Date: Fri, 30 Apr 2004 07:26:54 +0200 Subject: [PATCH] gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set. * gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set. From-SVN: r81322 --- gcc/ChangeLog | 5 +++++ gcc/gcse.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 06a1e6abb37..3e998c8789b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-30 Josef Zlomek + + * gcse.c (remove_reachable_equiv_notes): Delete notes also in + blocks which have kill flag set. + 2004-04-29 Ben Elliston * configure.ac (--with-as): Abort if user-supplied assembler diff --git a/gcc/gcse.c b/gcc/gcse.c index 7442faab520..48bc1f2b236 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -7797,8 +7797,7 @@ remove_reachable_equiv_notes (basic_block bb, struct ls_expr *smexpr) bb = act->dest; if (bb == EXIT_BLOCK_PTR - || TEST_BIT (visited, bb->index) - || TEST_BIT (ae_kill[bb->index], smexpr->index)) + || TEST_BIT (visited, bb->index)) { act = act->succ_next; continue; -- 2.30.2