diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 90e3e0b4cc1..a84404b94c1 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,8 @@ +2009-10-17 Sebastian Pop + + * graphite-dependences.c (dependence_polyhedron_1): Remove + unused gdim dimensions from the DDR polyhedron. + 2009-10-17 Sebastian Pop * graphite-dependences.c (pddr_transformed_scattering): New. diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c index 7c56f578858..b77de084a5b 100644 --- a/gcc/graphite-dependences.c +++ b/gcc/graphite-dependences.c @@ -419,7 +419,7 @@ dependence_polyhedron_1 (poly_bb_p pbb1, poly_bb_p pbb2, graphite_dim_t gdim = scop_nb_params (scop); graphite_dim_t dim1 = pdr_dim (pdr1); graphite_dim_t dim2 = pdr_dim (pdr2); - graphite_dim_t dim = tdim1 + tdim2 + dim1 + dim2; + graphite_dim_t dim = tdim1 + tdim2 + dim1 + dim2 - gdim; ppl_Pointset_Powerset_C_Polyhedron_t res; ppl_Pointset_Powerset_C_Polyhedron_t id1, id2, isc1, isc2, idr1, idr2; ppl_Pointset_Powerset_C_Polyhedron_t sc1, sc2, dreq;