blob: 6a3d3595d8cacb3135683b45ea8241d7ad1506c2 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Ofast -fdump-tree-vrp-thread1" } */
void g (void);
void g1 (void);
void
f (long a, long b, long c, long d, int x)
{
int t;
if (x)
t = a < b;
else if (d == x)
t = c < b;
else
t = d > c;
if (t)
{
g1 ();
g ();
}
}
/* { dg-final { scan-tree-dump-times "Removing basic block" 1 "vrp-thread1" } } */