From 833248d2d006c5da4f654b5683ee88819a179e71 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 23 May 2008 12:08:36 +0000 Subject: [PATCH] tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor. 2008-05-23 Richard Guenther * tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor. From-SVN: r135799 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-operands.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48e9ae28e5c..eace21cf9b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-05-23 Richard Guenther + + * tree-ssa-operands.c (mark_difference_for_renaming): Use + bitmap_xor. + 2008-05-23 Uros Bizjak Jakub Jelinek diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index a0d7dac17df..cdbc442a0ee 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -2785,15 +2785,9 @@ mark_difference_for_renaming (bitmap s1, bitmap s2) else if (!bitmap_equal_p (s1, s2)) { bitmap t1 = BITMAP_ALLOC (NULL); - bitmap t2 = BITMAP_ALLOC (NULL); - - bitmap_and_compl (t1, s1, s2); - bitmap_and_compl (t2, s2, s1); - bitmap_ior_into (t1, t2); + bitmap_xor (t1, s1, s2); mark_set_for_renaming (t1); - BITMAP_FREE (t1); - BITMAP_FREE (t2); } } -- 2.30.2