From: Jeff Law Date: Fri, 20 May 2016 21:32:56 +0000 (-0600) Subject: * bitmap.c (bitmap_find_bit): Remove useless test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa6d7407f90130dfea5df768787ce5c46c87f07b;p=gcc.git * bitmap.c (bitmap_find_bit): Remove useless test. From-SVN: r236546 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04a098bf409..68c61dd8440 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-05-20 Jeff Law + + * bitmap.c (bitmap_find_bit): Remove useless test. + 2016-05-20 Segher Boessenkool * function.c (thread_prologue_and_epilogue_insns): Commit the diff --git a/gcc/bitmap.c b/gcc/bitmap.c index 0c05512b666..010cf752d76 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -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;