summaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index 664ff29dd5b..1f605c97606 100644
--- a/gcc/loop-init.c
+++ b/gcc/loop-init.c
@@ -30,6 +30,7 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "df.h"
#include "ggc.h"
+#include "tree-flow.h"
/* Apply FLAGS to the loop state. */
@@ -142,6 +143,8 @@ loop_optimizer_finalize (void)
if (loops_state_satisfies_p (LOOPS_HAVE_RECORDED_EXITS))
release_recorded_exits ();
+ free_numbers_of_iterations_estimates ();
+
/* If we should preserve loop structure, do not free it but clear
flags that advanced properties are there as we are not preserving
that in full. */