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" } */
3 /* { dg-require-effective-target ptr_eq_long } */
4 
5 int b, c, d, e;
6 
7 __attribute__ ((noinline, noclone))
foo(short f)8 int foo (short f)
9 {
10   f %= 0;
11   return f;
12 }
13 
14 int
main(void)15 main (void)
16 {
17   b = (unsigned char) __builtin_parity (d);
18   e ? foo (0) : (__INTPTR_TYPE__) &c;
19   return 0;
20 }
21