libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loop-40.c
blob36db5657a9a0dec0c890a47bad3da5d36c24fbc6
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ch2-details" } */
4 int mymax2(int *it, int *end)
6 int max = *it;
7 while (++it != end)
8 if (*it > max)
9 max = *it;
10 return max;
13 /* { dg-final { scan-tree-dump "Duplicating header" "ch2" } } */