libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_106-pr113374.c
blobe2995322af222f746629f2d3145cac768b6e0d27
1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
4 typedef __SIZE_TYPE__ size_t;
5 struct S { unsigned char *a, *b; };
7 void
8 foo (struct S x)
10 for (size_t i = x.b - x.a; i > 0; --i)
12 size_t t = x.b - x.a;
13 size_t u = i - 1;
14 if (u >= t)
15 __builtin_abort ();
16 if (x.a[i - 1]--)
17 break;