Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / compile / 20040317-2.c
blob3c8ee2b8ec5ca428f48f4168512abad3166df4fa
1 typedef struct _ScaleRec *ScaleWidget;
2 typedef struct
4 short *x;
5 unsigned short *width;
6 } Table;
7 typedef struct
9 Table table;
10 } ScalePart;
11 typedef struct _ScaleRec
13 ScalePart scale;
14 } ScaleRec;
15 static int
16 FindPixel (ScaleWidget sw, short x, short y,
17 short * img_x, short * img_y, unsigned long * img_pixel)
19 if (sw->scale.table.x[(int) *img_x] +
20 (short) sw->scale.table.width[(int) *img_x] < x)
22 ++*img_x;
23 return FindPixel (sw, x, y, img_x, img_y, img_pixel);