Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-lim-2.c
blob9274261cb21710b572617b5fc2b82b763de452bb
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-lim" } */
4 /* This is a variant that doesn't cause fold to place a cast to
5 int before testing bit 1. */
7 void
8 quantum_toffoli(int control1, int control2, int target, int *state,
9 int size)
11 int i;
13 for(i=0; i<size; i++)
15 if (state[i] & ( 1 << control1))
16 if (state[i] & ( 1 << control2))
17 state[i] ^= ( 1 << target);
21 /* { dg-final { scan-tree-dump-times "1 <<" 3 "lim1" } } */
22 /* { dg-final { cleanup-tree-dump "lim\[1-2\]" } } */