PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / id-pr48648.c
blobff58ec23b4d6cc9c7c649d05fb30b6503d1c01d8
1 /* { dg-options "-O -fgraphite-identity" } */
3 void *foo(const void *a);
5 void bug48648()
7 unsigned char a[2];
8 long b;
9 int i;
11 for(i = 0; i < 2; i++) {
12 if (b <= 0)
13 a[i] = 0;
14 else if (b >= 8)
15 a[i] = 0;
16 else
17 a[i] = 0;
18 b -= 8;
20 foo(&a);