repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged revision 156805 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr42703.c
blob
4805b17b069f3b2bce5644140ac28d10fc8a9091
1
__extension__
typedef
unsigned long long int uint64_t
;
2
typedef
uint64_t
ScmUInt64
;
3
void
swapb64
(
ScmUInt64
*
loc
)
4
{
5
union
{
6
ScmUInt64 l
;
7
unsigned char
c
[
4
];
8
}
dd
;
9
unsigned char
t
;
10
dd
.
l
= *
loc
;
11
(
t
=
dd
.
c
[
3
],
dd
.
c
[
3
] =
dd
.
c
[
4
],
dd
.
c
[
4
] =
t
);
12
}