Add compile command to each testcase
[gcc-vect-testsuite.git] / pr31343.c
blob856422221cf3c3c2e79c8272c57f52f9ea41ae2f
1 /* { dg-do compile } */
3 #define N 16
5 struct
7 unsigned int x;
8 unsigned int y;
9 } pS [100];
11 void
12 main1 ()
14 int i, j;
15 unsigned int ub[N] =
16 { 1, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45 };
17 unsigned int uc[N] =
18 { 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
19 unsigned int udiffx, udiffy;
21 for (i = 0; i < N; i++)
23 pS[i].x = 0;
24 pS[i].y = 0;
25 for (j = 0; j < N; j++)
27 udiffx = (ub[j] - uc[j]);
28 udiffy = (ub[j] - uc[j]);
29 pS[i].x = udiffx;
30 pS[i].y = udiffy;
35 /* { dg-final { cleanup-tree-dump "vect" } } */