Fix gimplification of ordering comparisons of arrays of bytes
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr71908.c
blob95d8748ac9e3a7b045dffd4bce4bb66ae4985f1c
1 /* { dg-do compile } */
3 struct S3
5 int f3;
6 int f5;
7 char f6;
8 int f7;
9 } b;
10 int a;
11 static struct S3 *c = &b;
12 int *d;
13 int main()
15 int i;
16 for (;;) {
17 a = 0;
18 int **e = &d;
19 i = 0;
20 for (; i < 2; i++)
21 d = &(*c).f5;
22 *e = d;
23 **e = 3;
25 return 0;