cfgexpand: Expand comment on when non-var clobbers can show up
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_81.c
blob8a8c076ba92ca6fef419cb23b457a23555c61c64
1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
6 /* { dg-additional-options "-Ofast" } */
8 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
9 /* { dg-final { scan-tree-dump "epilog loop required" "vect" } } */
10 void abort ();
12 unsigned short sa[32];
13 unsigned short sc[32] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
14 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31};
15 unsigned short sb[32] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
16 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31};
17 unsigned int ia[32];
18 unsigned int ic[32] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,
19 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
20 unsigned int ib[32] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,
21 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
23 int main2 (int n)
25 int i;
26 for (i = 0; i < n - 3; i++)
28 if (sa[i+3] != sb[i] + sc[i] || ia[i+3] != ib[i] + ic[i])
29 abort ();