No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / pr21086.c
blob547d1c8d78b9a4ff32dc05d67e5c876a822da9cc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp" } */
4 int
5 foo (int *p)
7 int a = *p;
8 int b = p != 0;
10 *p = b;
12 if (b)
13 return a;
14 else
15 return 0;
18 /* { dg-final { scan-tree-dump-times "Folding predicate " 2 "vrp" } } */
19 /* { dg-final { cleanup-tree-dump "vrp" } } */