1 /* { dg-do compile } */ 2 3 typedef int pixval; 4 typedef struct { pixval r, g, b; } xel; 5 int convertRow_sample, convertRaster_col; 6 short *convertRow_samplebuf; 7 xel *convertRow_xelrow; 8 short convertRow_spp; fn1()9void fn1() { 10 int *alpharow; 11 for (; convertRaster_col; 12 ++convertRaster_col, convertRow_sample += convertRow_spp) { 13 convertRow_xelrow[convertRaster_col].r = 14 convertRow_xelrow[convertRaster_col].g = 15 convertRow_xelrow[convertRaster_col].b = 16 convertRow_samplebuf[convertRow_sample]; 17 alpharow[convertRaster_col] = convertRow_samplebuf[convertRow_sample + 3]; 18 } 19 } 20