1 /* PR tree-optimization/27285 */
2 /* PR tree-optimization/45122 */
5 /* { dg-options "-O2 -funsafe-loop-optimizations" } */
7 extern void abort (void);
9 struct S { unsigned char a, b, c, d[16]; };
11 void __attribute__ ((noinline))
12 foo (struct S *x, struct S *y)
15 unsigned char c, *d, *e;
42 struct S x = { 0, 25, 0, { 0xaa, 0xbb, 0xcc, 0xdd }};
43 struct S y = { 0, 0, 0, { 0 }};
46 if (x.d[0] != y.d[0] || x.d[1] != y.d[1]
47 || x.d[2] != y.d[2] || (x.d[3] & 0x80) != y.d[3])