libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr109502.c
blobfb67d909bbf6e8eb38f3493cfab753dabd52e735
1 /* { dg-additional-options "-O" } */
3 unsigned g;
5 unsigned
6 foo (void)
8 unsigned a = !g;
9 a += !(a % 6);
10 return a;
13 int
14 main ()
16 unsigned x = foo ();
17 if (x != 1)
18 __builtin_abort ();
19 return 0;