Patchwork [44/44] Fix PR45758: reset scevs before Graphite.

login
register
mail settings
Submitter Sebastian Pop
Date Sept. 30, 2010, 6:01 p.m.
Message ID <1285869696-10915-45-git-send-email-sebpop@gmail.com>
Download mbox | patch
Permalink /patch/66230/
State New
Headers show

Comments

Sebastian Pop - Sept. 30, 2010, 6:01 p.m.
From: spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>

2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/45758
	* graphite.c (graphite_initialize): Call scev_reset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@164582 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog          |    5 +++++
 gcc/ChangeLog.graphite |    5 +++++
 gcc/graphite.c         |    1 +
 3 files changed, 11 insertions(+), 0 deletions(-)

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5cb949e..c520c3b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@ 
 2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
 
+	PR middle-end/45758
+	* graphite.c (graphite_initialize): Call scev_reset.
+
+2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
+
 	* sese.h (scev_analyzable_p): Return false for real or floating
 	point.  Only handle INTEGRAL_TYPE_P and POINTER_TYPE_P.
 
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 0c632df..6f0038b 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 6b083d1..6b393d6 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 ();