]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disabled bitmap cache rotation optimization because not all gcc versions compile...
authorBart Van Assche <bvanassche@acm.org>
Thu, 12 Jun 2008 06:04:59 +0000 (06:04 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 12 Jun 2008 06:04:59 +0000 (06:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8224

exp-drd/drd_bitmap.h

index c5b3f5ab3db56f1bd4b8d9d472cddfd423438454..396d72f81e2c8e53bf27cd7f0e9ae6dd6d240cbb 100644 (file)
@@ -210,13 +210,11 @@ static struct bitmap2* bm2_make_exclusive(struct bitmap* const bm,
 
 /** Rotate elements cache[0..n-1] such that the element at position n-1 is
  *  moved to position 0. This allows to speed up future cache lookups.
- *
- *  @note Apparently gcc 4.2 compiles this code correctly, but gcc 4.1 not.
  */
 static __inline__
 void bm_cache_rotate(struct bm_cache_elem cache[], const int n)
 {
-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
+#if 0
   struct bm_cache_elem t;
 
   tl_assert(2 <= n && n <= 8);