Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20040317-2.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */ typedef struct _ScaleRec *ScaleWidget; typedef struct { short *x; unsigned short *width; } Table; typedef struct { Table table; } ScalePart; typedef struct _ScaleRec { ScalePart scale; } ScaleRec; static int FindPixel (ScaleWidget sw, short x, short y, short * img_x, short * img_y, unsigned long * img_pixel) { if (sw->scale.table.x[(int) *img_x] + (short) sw->scale.table.width[(int) *img_x] < x) { ++*img_x; return FindPixel (sw, x, y, img_x, img_y, img_pixel); } }