PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80788.c
blobb14d371009d9164f758e2677a12ac989bdd8883d
1 /* PR tree-optimization/80788 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fwrapv" } */
5 void
6 foo (signed char x)
8 signed char a = (x + 1) ^ 128;
9 x &= !!a;
10 if (x != 0)
11 for (;;)