LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr63189.c
blobdc8904730dd2dc0afe0c38f0cbe277413da45ffc
1 /* PR tree-optimization/63189 */
3 #include "tree-vect.h"
5 short int d[16] = { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
7 __attribute__((noinline, noclone)) void
8 foo (void)
10 int j, s = 0;
11 for (j = 0; j < 8; j++)
12 s += d[j] * j;
13 if (s != 7)
14 abort ();
17 int
18 main ()
20 check_vect ();
21 foo ();
22 return 0;