Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / 20000726-1.c
blobb0ecd29f3fe94dd30c1d7f82fed0286162819e15
1 void adjust_xy (short *, short *);
3 struct adjust_template
5 short kx_x;
6 short kx_y;
7 short kx;
8 short kz;
9 };
11 static struct adjust_template adjust = {0, 0, 1, 1};
13 main ()
15 short x = 1, y = 1;
17 adjust_xy (&x, &y);
19 if (x != 1)
20 abort ();
22 exit (0);
25 void
26 adjust_xy (x, y)
27 short *x;
28 short *y;
30 *x = adjust.kx_x * *x + adjust.kx_y * *y + adjust.kx;