------- Comment #22 from bunk at stusta dot de 2009-01-25 22:05 ------- Check my comments #10 and #11 and the definition of ilog2() in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=include/linux/log2.h;h=25b808631cd92c50d10cf6a31b2d9b9942b62ac9;hb=bce7f793daec3e65ec5c5705d2457b81fe7b5725 and you'll understand why I said 8 months ago "gcc has a bug regarding __builtin_constant_p()".
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359