[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr43220.c
blobd61dfe8fa35d1870e6316e726c094af38c30d0ee
1 /* { dg-require-effective-target int32plus } */
2 /* { dg-require-effective-target alloca } */
4 void *volatile p;
6 int
7 main (void)
9 int n = 0;
10 lab:;
12 int x[n % 1000 + 1];
13 x[0] = 1;
14 x[n % 1000] = 2;
15 p = x;
16 n++;
20 int x[n % 1000 + 1];
21 x[0] = 1;
22 x[n % 1000] = 2;
23 p = x;
24 n++;
27 if (n < 1000000)
28 goto lab;
30 return 0;