PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp31.c
blob3259cf1bd3614451b8cb533276e4155ab4de7a65
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 int f(int i)
6 int t = i == 1;
7 int g = t == 2;
8 int h = g == 3;
9 return h;
12 /* { dg-final { scan-tree-dump "return 0;" "vrp1" } } */