LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr81988.c
blobdbbf436f27ba142bf39a54d956dcb1278df22319
1 /* PR target/81988 */
2 /* Testcase by James Cowgill <jcowgill+gcc@jcowgill.uk> */
4 /* { dg-do assemble } */
5 /* { dg-require-effective-target pie } */
6 /* { dg-options "-O3 -fpie" } */
8 int c, d;
10 short **e;
11 int *a;
13 void foo(void)
15 int g[64 * 35], *h = g;
16 do {
17 short *f = e[d];
18 for (int i = 0; i < 4; i++)
19 a[i] = a[i] + (h[364] + f[4] * h[64] + f[5] * h[i] + f[6] * h[i + 3 * 4] +
20 f[7] * h[i + 4]);
21 } while (c);