diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 26f8ddd4659..5f418efac61 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,9 @@ +2009-10-17 Sebastian Pop + + * graphite-dependences.c (reduction_dr_1): Remove wrong + assert: reduction BBs can have multiple reduction writes + to memory. + 2009-10-17 Sebastian Pop * gfortran.dg/graphite/interchange-3.f90: New. diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c index ab08789c150..5615becaa8e 100644 --- a/gcc/graphite-dependences.c +++ b/gcc/graphite-dependences.c @@ -551,11 +551,6 @@ reduction_dr_1 (poly_bb_p pbb1, poly_dr_p pdr1, poly_dr_p pdr2) int i; poly_dr_p pdr; - /* PBB1 should be a reduction PBB. Reduction PBBs should have only - one write. */ - gcc_assert (PBB_IS_REDUCTION (pbb1) - && number_of_write_pdrs (pbb1) == 1); - for (i = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb1), i, pdr); i++) if (PDR_TYPE (pdr) == PDR_WRITE) break;