From fc0fe78ea505362a8f557ba2df1f5ce01e33c362 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 13 Apr 2008 22:52:00 +0200 Subject: [PATCH] Add comment for last commit. --- lib/count-one-bits.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/count-one-bits.h b/lib/count-one-bits.h index ae8a5a89bf..fcbe7fda67 100644 --- a/lib/count-one-bits.h +++ b/lib/count-one-bits.h @@ -30,6 +30,8 @@ return BUILTIN (x); #else #define COUNT_ONE_BITS(BUILTIN, TYPE) \ + /* This condition is written so as to avoid shifting by more than \ + 31 bits at once, and also avoids a random HP-UX cc bug. */ \ verify (((TYPE) -1 >> 31 >> 31 >> 2) == 0); /* TYPE has at most 64 bits */ \ int count = count_one_bits_32 (x); \ if (1 < (TYPE) -1 >> 31) /* TYPE has more than 32 bits? */ \ -- 2.30.2