https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785
dhowells at redhat dot com <dhowells at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dhowells at redhat dot com --- Comment #13 from dhowells at redhat dot com <dhowells at redhat dot com> --- Another possibility, at least for handling ilog2(), could be to provide __builtin_ilog2(unsigned long x) as an alternative. Note that the kernel ilog2() has the property that the result is undefined if x==0 (and will jump to ____ilog2_NaN() if x is constant 0).