]> git.ipfire.org Git - thirdparty/gcc.git/commit
toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static inline, not extern...
authorIan Lance Taylor <iant@google.com>
Tue, 16 Jun 2009 16:55:41 +0000 (16:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 16 Jun 2009 16:55:41 +0000 (16:55 +0000)
commit9c727c9a3ec1cf3579a87d8f51f93bcef4c1a1f2
treee1b61088472cacd295a32462679586101359162e
parent5fd8300bd5fda7ade5791662c5909094b22850ab
toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static inline, not extern inline.

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

From-SVN: r148540
gcc/ChangeLog
gcc/toplev.c
gcc/toplev.h