libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr104639-1.c
blob183fa374afc2f94ccce7cd8622ea1c558d1ff144
1 /* PR tree-optimization/104639 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-not "PHI <" "optimized" } } */
5 /* { dg-final { scan-tree-dump-times "i_\[0-9]*\\\(D\\\) != 0;" 1 "optimized" } } */
7 _Bool
8 foo (int i)
10 while (i == 4)
11 i += 2;
12 return i;