1 /* PR77366 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fdump-tree-split-paths-details" } */
4 
5 void
foo(unsigned int size,unsigned int * state)6 foo(unsigned int size, unsigned int *state)
7 {
8   unsigned int i;
9 
10   for(i = 0; i < size; i++)
11     {
12       if(state[i] & 1)
13 	state[i] ^= 1;
14     }
15 }
16 
17 /* { dg-final { scan-tree-dump-times "Duplicating join block" 0 "split-paths" } } */
18