Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
145 | 1 /* { dg-skip-if "small alignment" { pdp11-*-* } } */ |
2 | |
111 | 3 typedef __attribute__((aligned(16))) |
4 struct { | |
5 unsigned long long w[3]; | |
6 } UINT192; | |
7 | |
8 UINT192 bid_Kx192[32]; | |
9 | |
10 extern void abort (void); | |
11 | |
12 int main() | |
13 { | |
14 int i = 0; | |
15 unsigned long x = 0; | |
16 for (i = 0; i < 32; ++i) | |
17 bid_Kx192[i].w[1] = i == 1; | |
18 for (i = 0; i < 32; ++i) | |
19 x += bid_Kx192[1].w[1]; | |
20 if (x != 32) | |
21 abort (); | |
22 return 0; | |
23 } |