blob: 23741b60f6593c5ba9e5e49ed827c1c4473f16f5 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -w -fdump-tree-dom2" } */
extern void frob (void);
extern void frob (void);
void
rhs_to_tree (int x, int z)
{
if (x >= 4)
frob ();
if (x >= 3)
frob ();
}
/* The second conditional should change into a simple equality test. */
/* { dg-final { scan-tree-dump-times "if \\(x_\[0-9\]+\\(D\\) == 3\\)" 1 "dom2"} } */