------- Comment #11 from bunk at stusta dot de 2008-06-10 10:28 ------- (In reply to comment #7) > Looking at http://www.readcode.org/code/linux-2.6.20/include/linux/log2.h it > seems that either the argument to ilog _is_ zero or the compiler thinks so.
If you disassemble Mirco's usbcore.o you'll see why I said "I'd have said your gcc has a bug regarding __builtin_constant_p()": The compiler does not think the argument to ilog() was zero - it expanded _all_ the code for the case when __builtin_constant_p(n) returns true. -- bunk at stusta dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bunk at stusta dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359