1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1-details" } */
4 static int blocksize
= 4096;
12 __attribute__ ((used
))
13 static char eof_reached
= 0;
35 /* First, we should simplify the bits < 0 test within the loop. */
36 /* { dg-final { scan-tree-dump-times "Simplified relational" 1 "vrp1" } } */
38 /* Second, we should thread the edge out of the loop via the break
39 statement. We also realize that the final bytes == 0 test is useless,
40 and thread over it. We also know that toread != 0 is useless when
41 entering while loop and thread over it. */
42 /* { dg-final { scan-tree-dump-times "Threaded jump" 3 "vrp1" } } */