Patchwork Fix PR45758: reset scevs before Graphite.

login
register
mail settings
Submitter Sebastian Pop
Date Sept. 24, 2010, 6:10 a.m.
Message ID <1285308601-14537-1-git-send-email-sebpop@gmail.com>
Download mbox | patch
Permalink /patch/65625/
State New
Headers show

Comments

Sebastian Pop - Sept. 24, 2010, 6:10 a.m.
2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/45758
	* graphite.c (graphite_initialize): Call scev_reset.
---
 gcc/ChangeLog.graphite |    5 +++++
 gcc/graphite.c         |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index b966a94..8929517 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,8 @@ 
+2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+	PR middle-end/45758
+	* graphite.c (graphite_initialize): Call scev_reset.
+
 2010-09-23  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* sese.h (scev_analyzable_p): Return false for real or floating
diff --git a/gcc/graphite.c b/gcc/graphite.c
index a5fcc4a..bf02e43 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -214,6 +214,7 @@  graphite_initialize (void)
       return false;
     }
 
+  scev_reset ();
   recompute_all_dominators ();
   initialize_original_copy_tables ();