annotate gcc/testsuite/gcc.dg/sso/init8.h @ 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 struct __attribute__((scalar_storage_order("big-endian"))) Nested1
kono
parents:
diff changeset
2 {
kono
parents:
diff changeset
3 int C1;
kono
parents:
diff changeset
4 int C2;
kono
parents:
diff changeset
5 int C3;
kono
parents:
diff changeset
6 };
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 struct __attribute__((scalar_storage_order("little-endian"))) R1
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 int I;
kono
parents:
diff changeset
11 struct Nested1 N;
kono
parents:
diff changeset
12 };
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 struct __attribute__((scalar_storage_order("little-endian"))) Nested2
kono
parents:
diff changeset
15 {
kono
parents:
diff changeset
16 int C1;
kono
parents:
diff changeset
17 int C2;
kono
parents:
diff changeset
18 int C3;
kono
parents:
diff changeset
19 };
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 struct __attribute__((scalar_storage_order("big-endian"))) R2
kono
parents:
diff changeset
22 {
kono
parents:
diff changeset
23 int I;
kono
parents:
diff changeset
24 struct Nested2 N;
kono
parents:
diff changeset
25 };
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 struct R1 My_R1 = { 0x12345678, { 0xAB0012, 0xCD0034, 0xEF0056 } };
kono
parents:
diff changeset
28 struct R2 My_R2 = { 0x12345678, { 0xAB0012, 0xCD0034, 0xEF0056 } };