> 2011-10-13 Bruno Haible
>
> ffsl: Optimize on 32-bit platforms.
> * lib/ffsl.h (FUNC): If TYPE has the same representation as 'int', just
> use ffs() without a loop.
The other frequent case is that sizeof (TYPE) == 2 * sizeof (int).
This means, the loop is executed just twi
Before I added the previous optimization, I got this warning and code
on mingw:
$ gcc-3 -mno-cygwin -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1
-I/usr/local/mingw/include -Wall -S -O2 ffsl.c
In file included from ffsl.c:3:
ffsl.h: In function `ffsl':
ffsl.h:44: warning: right shift coun