PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ccp-39.c
blob21af5593f50d93c2c7166c12637ead20d4087c71
1 /* { dg-do run } */
2 /* { dg-options "-O -fdump-tree-ccp1" } */
4 int main (void)
6 volatile int x1 = 1;
7 volatile int x2 = 1;
8 int x3 = 2;
9 int t = 1;
11 t = 3<=(x2|1|x3|x1-1U);
13 if (t == 1) {}
14 else { __builtin_abort(); }
16 return 0;
19 /* { dg-final { scan-tree-dump-not "abort" "ccp1" } } */