diff options
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c index 33373726710..6c3181d5471 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -171,10 +171,10 @@ compact_blocks (void) } gcc_assert (i == n_basic_blocks_for_fn (cfun)); - for (; i < last_basic_block; i++) + for (; i < last_basic_block_for_fn (cfun); i++) SET_BASIC_BLOCK_FOR_FN (cfun, i, NULL); } - last_basic_block = n_basic_blocks_for_fn (cfun); + last_basic_block_for_fn (cfun) = n_basic_blocks_for_fn (cfun); } /* Remove block B from the basic block array. */ |