OSDN Git Service

* toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 16:55:41 +0000 (16:55 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 16:55:41 +0000 (16:55 +0000)
commit4345dfaa7260253cb0d3b10b4b466f586e9d28dc
treee1b61088472cacd295a32462679586101359162e
parentc623bf224ae70ba4d72af5fd7b6ce9cefbe48030
* toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static
inline, not extern inline.
(exact_log2): Likewise.
* toplev.c (floor_log2): Only define if GCC_VERSION < 3004. Don't
test CLZ_HWI.
(exact_log2): Likewise, but don't test CTZ_HWI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148540 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/toplev.c
gcc/toplev.h