1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-vrp1" } */ int f(int i) { _Bool t = !i; int g = !t && i; int h = g == 3; return h; } /* { dg-final { scan-tree-dump "return 0;" "vrp1" } } */ /* { dg-final { cleanup-tree-dump "vrp1" } } */