projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f628fb
)
fixed _bswapsi2 function
author
Stefan Kanthak
<stefan.kanthak@nexgo.de>
Mon, 30 Nov 2020 01:05:46 +0000
(18:05 -0700)
committer
Jeff Law
<law@redhat.com>
Mon, 30 Nov 2020 01:05:46 +0000
(18:05 -0700)
libgcc
* libgcc2.c (bswapsi2): Make constants unsigned.
libgcc/libgcc2.c
patch
|
blob
|
history
diff --git
a/libgcc/libgcc2.c
b/libgcc/libgcc2.c
index 1921d80f6126f67b34a0640d0327c9f1eaee1531..61de3b42e1d8be4ea872a6a9b1f2bd05b7afa401 100644
(file)
--- a/
libgcc/libgcc2.c
+++ b/
libgcc/libgcc2.c
@@
-468,10
+468,10
@@
__ashrdi3 (DWtype u, shift_count_type b)
SItype
__bswapsi2 (SItype u)
{
- return ((((u) & 0xff000000) >> 24)
- | (((u) & 0x00ff0000) >> 8)
- | (((u) & 0x0000ff00) << 8)
- | (((u) & 0x000000ff) << 24));
+ return ((((u) & 0xff000000
u
) >> 24)
+ | (((u) & 0x00ff0000
u
) >> 8)
+ | (((u) & 0x0000ff00
u
) << 8)
+ | (((u) & 0x000000ff
u
) << 24));
}
#endif
#ifdef L_bswapdi2