[Bug tree-optimization/72785] [7 Regression] kernel build error since r236831

dhowells at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 7 14:14:00 GMT 2016


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).


More information about the Gcc-bugs mailing list