Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp70.c
blob4a17e45f718888b7c59943e900784ec66470e511
1 /* { dg-do compile } */
2 /* { dg-require-effective-target int32plus } */
3 /* { dg-options "-O2 -fdump-tree-vrp1" } */
5 extern void link_error (void);
7 void
8 foo (unsigned int s)
10 if (s + 0x70000000 < 0xf0000000U)
12 if (s >= 0x80000000U && s < 0x90000000U)
13 link_error ();
17 void
18 bar (unsigned int s)
20 if (s + 0x70000000 >= 0xf0000000U)
22 if (s < 0x80000000U || s >= 0x90000000U)
23 link_error ();
27 /* { dg-final { scan-tree-dump-not "link_error" "vrp1" } } */