PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr85859.c
blob96eb96711371ff01ce2b074a45e7f964521aeefa
1 /* { dg-do run } */
2 /* { dg-options "-ftree-tail-merge -Wno-div-by-zero -O2 -fno-dce -fno-isolate-erroneous-paths-dereference -fno-tree-dce -fno-tree-vrp" } */
4 int b, c, d, e;
6 __attribute__ ((noinline, noclone))
7 int foo (short f)
9 f %= 0;
10 return f;
13 int
14 main (void)
16 b = (unsigned char) __builtin_parity (d);
17 e ? foo (0) : (long) &c;
18 return 0;