1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1-details" } */
3 typedef struct basic_block_def
*basic_block
;
4 struct basic_block_def
;
6 typedef struct edge_def
*edge
;
7 typedef struct VEC_edge_base
11 typedef struct VEC_edge_none
15 static __inline__
unsigned
16 VEC_edge_base_length (VEC_edge_base
* vec_
)
18 return vec_
? vec_
->num
: 0;
21 typedef struct VEC_edge_gc
25 struct basic_block_def
31 cleanup_empty_eh (basic_block bb
)
34 switch (VEC_edge_base_length (&bb
->succs
->base
))
40 /* { dg-final { scan-tree-dump-times "Threaded" 1 "vrp1"} } */
41 /* { dg-final { cleanup-tree-dump "vrp1" } } */