summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-05-23 12:08:36 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-05-23 12:08:36 +0000
commit833248d2d006c5da4f654b5683ee88819a179e71 (patch)
tree4a8ac34e63fa6f911568d58cfa3a82a065b0fb16 /gcc/tree-ssa-operands.c
parent7a0112e7a42a5a3891d93fa449348df6446fc8bb (diff)
downloadgcc-833248d2d006c5da4f654b5683ee88819a179e71.tar.gz
tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor.
2008-05-23 Richard Guenther <rguenther@suse.de> * tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor. From-SVN: r135799
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r--gcc/tree-ssa-operands.c8
1 files changed, 1 insertions, 7 deletions
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);
}
}