Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/loop-40.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ch2-details" } */
3
4 int mymax2(int *it, int *end)
5 {
6 int max = *it;
7 while (++it != end)
8 if (*it > max)
9 max = *it;
10 return max;
11 }
12
13 /* { dg-final { scan-tree-dump "Duplicating header" "ch2" } } */