diff options
Diffstat (limited to 'gcc/domwalk.c')
-rw-r--r-- | gcc/domwalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/domwalk.c b/gcc/domwalk.c index 3350e4b..e84c8f7 100644 --- a/gcc/domwalk.c +++ b/gcc/domwalk.c @@ -159,7 +159,7 @@ dom_walker::walk (basic_block bb) { postorder = XNEWVEC (int, n_basic_blocks_for_fn (cfun)); postorder_num = inverted_post_order_compute (postorder); - bb_postorder = XNEWVEC (int, last_basic_block); + bb_postorder = XNEWVEC (int, last_basic_block_for_fn (cfun)); for (int i = 0; i < postorder_num; ++i) bb_postorder[postorder[i]] = i; free (postorder); |