diff options
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index 3f02cab..6c405d8 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -157,7 +157,7 @@ draw_cfg_nodes_no_loops (pretty_printer *pp, struct function *fun) int i, n; sbitmap visited; - visited = sbitmap_alloc (last_basic_block); + visited = sbitmap_alloc (last_basic_block_for_fn (cfun)); bitmap_clear (visited); n = pre_and_rev_post_order_compute_fn (fun, NULL, rpo, true); |