1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-lim1" } */
4 /* This is a variant that does cause fold to place a cast to
5 int before testing bit 1. */
8 quantum_toffoli (int control1, int control2, int target,
9 unsigned long *state, int size)
15 if (state[i] & ((unsigned long) 1 << control1))
16 if (state[i] & ((unsigned long) 1 << control2))
17 state[i] ^= ((unsigned long) 1 << target);
21 /* { dg-final { scan-tree-dump-times "1 <<" 3 "lim1" } } */
22 /* { dg-final { cleanup-tree-dump "lim1" } } */