diff options
Diffstat (limited to 'gcc/lra-remat.c')
-rw-r--r-- | gcc/lra-remat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/lra-remat.c b/gcc/lra-remat.c index 66532b8f464..68ce5025350 100644 --- a/gcc/lra-remat.c +++ b/gcc/lra-remat.c @@ -578,10 +578,8 @@ create_remat_bb_data (void) last_basic_block_for_fn (cfun)); FOR_ALL_BB_FN (bb, cfun) { -#ifdef ENABLE_CHECKING - if (bb->index < 0 || bb->index >= last_basic_block_for_fn (cfun)) - abort (); -#endif + gcc_checking_assert (bb->index >= 0 + && bb->index < last_basic_block_for_fn (cfun)); bb_info = get_remat_bb_data (bb); bb_info->bb = bb; bitmap_initialize (&bb_info->changed_regs, ®_obstack); |