diff options
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 9a00f0bb15f..116de356da4 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -695,7 +695,10 @@ predict_loops (struct loops *loops_info, bool rtlsimpleloops) } if (!rtlsimpleloops) - scev_finalize (); + { + scev_finalize (); + current_loops = NULL; + } } /* Attempt to predict probabilities of BB outgoing edges using local |