mirror of git://gcc.gnu.org/git/gcc.git
[committed] Adding missing prototype for __clzhi2 to xstormy port
xstormy16 has failed since the c99 transition due to a missing prototype for __clzhi2 in the implementation of stormy16_count_leading_zeros. This fixes the missing prototype. Pushed to the trunk. include/ * longlong.h (__stormy16_count_leading_zeros): Add prototype for __clzhi2.
This commit is contained in:
parent
8ae50799cd
commit
9f7afa99c6
|
@ -1573,6 +1573,7 @@ extern UHItype __stormy16_count_leading_zeros (UHItype);
|
||||||
for ((count) = 0, size = W_TYPE_SIZE; size; size -= 16) \
|
for ((count) = 0, size = W_TYPE_SIZE; size; size -= 16) \
|
||||||
{ \
|
{ \
|
||||||
UHItype c; \
|
UHItype c; \
|
||||||
|
extern UHItype __clzhi2 (UHItype); \
|
||||||
\
|
\
|
||||||
c = __clzhi2 ((x) >> (size - 16)); \
|
c = __clzhi2 ((x) >> (size - 16)); \
|
||||||
(count) += c; \
|
(count) += c; \
|
||||||
|
|
Loading…
Reference in New Issue