summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog.graphite5
-rw-r--r--gcc/graphite-sese-to-poly.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index e61abc5e2ef..b1541c2b40c 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,8 @@
+2009-10-20 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-sese-to-poly.c (build_alias_set_optimal_p): Initialize
+ all_components_are_cliques to 1.
+
2009-10-20 Li Feng <nemokingdom@gmail.com>
* graphite-sese-to-poly.c (free_data_refs_aux): Update to free
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index b0f385b0a20..06a98a3b412 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -1897,7 +1897,8 @@ build_alias_set_optimal_p (VEC (data_reference_p, heap) *drs)
int *all_vertices;
int *vertices;
struct graph_edge *e;
- int this_component_is_clique, all_components_are_cliques;
+ int this_component_is_clique;
+ int all_components_are_cliques = 1;
for (i = 0; VEC_iterate (data_reference_p, drs, i, dr1); i++)
for (j = i+1; VEC_iterate (data_reference_p, drs, j, dr2); j++)