OSDN Git Service

2012-04-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr50763.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-pre" } */
3
4 int bar (int i);
5
6 void
7 foo (int c, int d)
8 {
9   if (bar (c))
10     bar (c);
11   d = 33;
12   while (c == d);
13 }
14
15 /* { dg-final { scan-tree-dump-times "== 33" 1 "pre"} } */
16 /* { dg-final { cleanup-tree-dump "pre" } } */