PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp101.c
blob95b4d2b05a8735faf8ecc372e4165b24553a7e5a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int x = 1;
6 int main ()
8 int t = (1/(1>=x))>>1;
9 if (t != 0) __builtin_abort();
10 return 0;
13 /* { dg-final { scan-tree-dump "<bb 2> \\\[local count: \[0-9INV\]*\\\]:\[\n\r \]*return 0;" "optimized" } } */