LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr52298.c
blobe1185e662b48c98fd599c4f519e7432ae161bb3a
1 /* { dg-additional-options "-O1 -fno-tree-pre -fno-tree-loop-im" } */
3 #include "tree-vect.h"
5 extern void abort (void);
6 int c[80];
8 __attribute__((noinline)) int
9 foo (void)
11 int l = 0;
12 int a, b;
14 for (a = 3; a >= 0; a--)
15 for (b = 7; b >= 0; b--)
16 l |= c[a+60];
17 return l;
20 int
21 main ()
23 int i;
24 check_vect ();
25 for (i = 0; i < 60; i++)
26 c[i] = 1;
27 for (; i < 64; i++)
28 c[i] = 1 << (i - 59);
29 if (foo () != 30)
30 abort ();
31 return 0;