annotate gcc/testsuite/gcc.c-torture/compile/pr42703.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 __extension__ typedef unsigned long long int uint64_t;
kono
parents:
diff changeset
2 typedef uint64_t ScmUInt64;
kono
parents:
diff changeset
3 void swapb64(ScmUInt64 *loc)
kono
parents:
diff changeset
4 {
kono
parents:
diff changeset
5 union {
kono
parents:
diff changeset
6 ScmUInt64 l;
kono
parents:
diff changeset
7 unsigned char c[4];
kono
parents:
diff changeset
8 } dd;
kono
parents:
diff changeset
9 unsigned char t;
kono
parents:
diff changeset
10 dd.l = *loc;
kono
parents:
diff changeset
11 (t = dd.c[3], dd.c[3] = dd.c[4], dd.c[4] = t);
kono
parents:
diff changeset
12 }