libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr115669.c
blob361a17a64e6882d48497873371dd7f126c168bed
1 /* { dg-additional-options "-fwrapv" } */
3 #include "tree-vect.h"
5 int a = 10;
6 unsigned b;
7 long long c[100];
8 int foo()
10 long long *d = c;
11 for (short e = 0; e < a; e++)
12 b += ~(d ? d[e] : 0);
13 return b;
16 int main()
18 check_vect ();
19 if (foo () != -10)
20 abort ();
21 return 0;