1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
5 typedef unsigned int size_t;
6 extern void *xmalloc (size_t) __attribute__ ((__malloc__
));
9 struct basic_block_def
*dest
;
12 typedef struct edge_def
*edge
;
13 struct basic_block_def
17 typedef struct basic_block_def
*basic_block
;
18 extern int n_basic_blocks
;
21 find_unreachable_blocks (int frobit
)
23 basic_block
*tos
, *worklist
, bb
;
24 tos
= worklist
= xmalloc (sizeof (basic_block
) * n_basic_blocks
);
26 if (!(e
->dest
->flags
& 4))
33 /* If the aliasing code does its job properly, then we should be
34 able to determine that modifying e->dest->flags does not
35 modify e or e->dest. The net result is that we only need one
37 /* { dg-final { scan-tree-dump-times "->dest" 1 "dom3" { xfail *-*-* } } } */
38 /* { dg-final { cleanup-tree-dump "dom3" } } */