Patchwork [26/44] Fix uninitialize warning.

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

Comments

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

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

	* graphite-poly.c (graphite_read_scop_file): Fix uninitialize warning.

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

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6ae625..02fd3b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@ 
+2010-08-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-poly.c (graphite_read_scop_file): Fix uninitialize warning.
+
 2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* graphite-dependences.c (dot_deps): Avoid set but not used warning.
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 78655a2..0ffb943 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,9 @@ 
 2010-08-24  Sebastian Pop  <sebastian.pop@amd.com>
 
+	* graphite-poly.c (graphite_read_scop_file): Fix uninitialize warning.
+
+2010-08-24  Sebastian Pop  <sebastian.pop@amd.com>
+
 	* graphite-dependences.c (dot_deps): Avoid set but not used warning.
 	(dot_deps_stmt): Same.
 	* graphite-poly.c (dot_lst): Same.
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 8af16de..96a0a70 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -599,7 +599,7 @@  graphite_read_scop_file (FILE *file, scop_p scop)
   int input, output, locals, params;
   ppl_Pointset_Powerset_C_Polyhedron_t ps;
   poly_bb_p pbb;
-  bool transform_done;
+  bool transform_done = false;
 
   /* Ensure that the file is in OpenScop format.  */
   tmp = openscop_read_N_string (file, 2);