diff options
Diffstat (limited to 'gcc/ra.c')
-rw-r--r-- | gcc/ra.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -682,7 +682,9 @@ reg_alloc (void) if (last) { edge e; - for (e = EXIT_BLOCK_PTR->pred; e; e = e->pred_next) + edge_iterator ei; + + FOR_EACH_EDGE (e, ei, EXIT_BLOCK_PTR->preds) { basic_block bb = e->src; last = BB_END (bb); |