diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <rguenther@suse.de> + + * tree-ssa-operands.c (mark_difference_for_renaming): Use + bitmap_xor. + 2008-05-23 Uros Bizjak <ubizjak@gmail.com> Jakub Jelinek <jakub@redhat.com> 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); } } |