Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ccp-14.c
blob3955bddcf59675e39e0cd5a9185e4fce9fc487a1
1 /* PR tree-optimization/29738. We used not to realize that "i" can never
2 become nonzero. */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fdump-tree-optimized" } */
7 int i;
9 void foo (void);
10 void bar (void)
12 int j;
13 i = 0;
14 for (j = 0; j < 10000; j++)
15 if (i)
16 foo ();
19 /* Everything except for the "i = 0" assignment should get removed. */
20 /* { dg-final { scan-tree-dump-times "if" 0 "optimized" { xfail *-*-* } } } */