1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-pre" } */ 3 4 int bar (int i); 5 6 void foo(int c,int d)7foo (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" } } */ 17