aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 0c0b607..819116d 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -54,6 +54,7 @@ along with GCC; see the file COPYING3. If not see
#include "pointer-set.h"
#include "gimple.h"
#include "sese.h"
+#include "predict.h"
#ifdef HAVE_cloog
@@ -229,7 +230,12 @@ static void
graphite_finalize (bool need_cfg_cleanup_p)
{
if (need_cfg_cleanup_p)
- cleanup_tree_cfg ();
+ {
+ cleanup_tree_cfg ();
+ profile_status = PROFILE_ABSENT;
+ release_recorded_exits ();
+ tree_estimate_probability ();
+ }
cloog_finalize ();
free_original_copy_tables ();