tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor.
authorRichard Guenther <rguenther@suse.de>
Fri, 23 May 2008 12:08:36 +0000 (12:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 May 2008 12:08:36 +0000 (12:08 +0000)
2008-05-23  Richard Guenther  <rguenther@suse.de>

* tree-ssa-operands.c (mark_difference_for_renaming): Use
bitmap_xor.

From-SVN: r135799

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 48e9ae28e5c6c2782b0ba6fed5e3931aac2535fb..eace21cf9b194c367411eaa512918b449e52dcda 100644 (file)
@@ -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>
 
index a0d7dac17dffbb9432e5719878fc0f386e27c9b0..cdbc442a0ee5dab400576369214f9272fbd1252a 100644 (file)
@@ -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);
     }
 }