IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33238.c
blob0b399041a867f0909337f243b337dac556257007
1 /* PR c/33238 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu89" } */
5 void
6 reverse (void *x, int y, int z)
8 struct { char w[z]; } *p = x, a;
9 int i, j;
10 for (i = y - 1, j = 0; j < y / 2; i--, j++)
11 ({ a = p[i]; p[i] = p[j]; p[j] = a; });