* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51505.c
blobdbcd3226d7d52538a4bebe49db9683c03c08b0b9
1 /* PR rtl-optimization/51505 */
2 /* { dg-do compile } */
3 /* { dg-options "-O --param max-cse-insns=1" } */
4 struct S
6 char a[256];
7 };
9 int bar(struct S, char[16]);
11 void foo ()
13 struct S u, s1, s2;
14 char e[256];
15 char i;
16 e[i] = ~s1.a[i] & s2.a[i];
17 if (bar(u, e))
18 __builtin_abort ();