Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp90.c
blob0fed84b43a41714c54c80feb5bc57b9e2cb6507a
1 /* { dg-do link } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
3 /* { dg-final { scan-tree-dump-not "link_error" "vrp1"} } */
5 extern void link_error (void);
7 __attribute__((noinline, noclone)) int
8 foo (unsigned int n, int r)
10 int i;
11 if (n > 0)
13 asm ("");
14 if (n < 10)
16 asm ("");
19 --n;
20 r *= 2;
21 if (n >= 9)
22 link_error ();
24 while (n > 0);
27 return r + n;
30 int
31 main ()
33 foo (7, 2);
34 return 0;