* bitmap.c (bitmap_find_bit): Remove useless test.
authorJeff Law <law@redhat.com>
Fri, 20 May 2016 21:32:56 +0000 (15:32 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 20 May 2016 21:32:56 +0000 (15:32 -0600)
From-SVN: r236546

gcc/ChangeLog
gcc/bitmap.c

index 04a098bf40990809945f5469283de11f96f90c54..68c61dd84403fd062e2844f74804143189e7036a 100644 (file)
@@ -1,3 +1,7 @@
+2016-05-20  Jeff Law  <law@redhat.com>
+
+       * bitmap.c (bitmap_find_bit): Remove useless test.
+
 2016-05-20  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * function.c (thread_prologue_and_epilogue_insns): Commit the
index 0c05512b66691b0f40d40c8b683398584643d6f0..010cf752d76bff77843ea0f1c5e94b2c73c72d6c 100644 (file)
@@ -556,7 +556,7 @@ bitmap_find_bit (bitmap head, unsigned int bit)
      want, the one we want doesn't exist.  */
   head->current = element;
   head->indx = element->indx;
-  if (element != 0 && element->indx != indx)
+  if (element->indx != indx)
     element = 0;
 
   return element;