diff options
Diffstat (limited to 'gcc/regcprop.c')
-rw-r--r-- | gcc/regcprop.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/regcprop.c b/gcc/regcprop.c index 44f6295..5ca7e8c 100644 --- a/gcc/regcprop.c +++ b/gcc/regcprop.c @@ -1404,12 +1404,9 @@ pass_cprop_hardreg::execute (function *fun) changed anything though. */ if (!worklist.is_empty ()) { - unsigned int i; - int index; - any_debug_changes = false; bitmap_clear (visited); - FOR_EACH_VEC_ELT (worklist, i, index) + for (int index : worklist) { bb = BASIC_BLOCK_FOR_FN (fun, index); cprop_hardreg_bb (bb, all_vd, visited); |