LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr51074.c
blob4144572126e9de36f5b2e85bb56ff9fdff372bce
1 /* PR tree-optimization/51074 */
3 #include "tree-vect.h"
5 struct S { int a, b; } s[8];
7 int
8 main ()
10 int i;
11 check_vect ();
12 for (i = 0; i < 8; i++)
14 s[i].b = 0;
15 s[i].a = i;
17 asm volatile ("" : : : "memory");
18 for (i = 0; i < 8; i++)
19 if (s[i].b != 0 || s[i].a != i)
20 abort ();
21 return 0;