annotate gcc/testsuite/gcc.c-torture/execute/pr43783.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
1 /* { dg-skip-if "small alignment" { pdp11-*-* } } */
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
2
111
kono
parents:
diff changeset
3 typedef __attribute__((aligned(16)))
kono
parents:
diff changeset
4 struct {
kono
parents:
diff changeset
5 unsigned long long w[3];
kono
parents:
diff changeset
6 } UINT192;
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 UINT192 bid_Kx192[32];
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 extern void abort (void);
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 int main()
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 int i = 0;
kono
parents:
diff changeset
15 unsigned long x = 0;
kono
parents:
diff changeset
16 for (i = 0; i < 32; ++i)
kono
parents:
diff changeset
17 bid_Kx192[i].w[1] = i == 1;
kono
parents:
diff changeset
18 for (i = 0; i < 32; ++i)
kono
parents:
diff changeset
19 x += bid_Kx192[1].w[1];
kono
parents:
diff changeset
20 if (x != 32)
kono
parents:
diff changeset
21 abort ();
kono
parents:
diff changeset
22 return 0;
kono
parents:
diff changeset
23 }