Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dom-simplify-1.c
blob23741b60f6593c5ba9e5e49ed827c1c4473f16f5
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -w -fdump-tree-dom2" } */
4 extern void frob (void);
5 extern void frob (void);
7 void
8 rhs_to_tree (int x, int z)
10 if (x >= 4)
11 frob ();
12 if (x >= 3)
13 frob ();
16 /* The second conditional should change into a simple equality test. */
17 /* { dg-final { scan-tree-dump-times "if \\(x_\[0-9\]+\\(D\\) == 3\\)" 1 "dom2"} } */