PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp45.c
blob7916d2da880a5bd5c7067220e148604f6e118720
1 /* { dg-do link } */
2 /* { dg-options "-O2" } */
4 extern void link_error (void);
6 void foo (int i)
8 if (i > -128 && i < 127)
10 unsigned char k = i;
11 if (k == 0x80)
12 link_error ();
13 if (k == 0x7f)
14 link_error ();
18 int main() { return 0; }