diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:13:57 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:13:57 +0000 |
commit | 13d0cae221a27132c8e10fb73a9cbd1102c2acea (patch) | |
tree | b90f4ce55e4aed781b77ccb1a0fa730762ff43d5 /gcc/graphite-poly.c | |
parent | acb3969fbdc039b0b89273a6e06800d97e89bfe7 (diff) | |
download | gcc-13d0cae221a27132c8e10fb73a9cbd1102c2acea.tar.gz |
2009-10-17 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (pbb_remove_duplicate_pdrs): Initialize
PBB_PDR_DUPLICATES_REMOVED.
(new_poly_bb): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r-- | gcc/graphite-poly.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index 17d88815b4d..bed662aaf00 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -305,6 +305,8 @@ pbb_remove_duplicate_pdrs (poly_bb_p pbb) for (j = 0; VEC_iterate (poly_dr_p, collapsed, j, pdr2); j++) if (!can_collapse_pdrs (pdr1, pdr2)) VEC_quick_push (poly_dr_p, collapsed, pdr1); + + PBB_PDR_DUPLICATES_REMOVED (pbb) = true; } /* Create a new polyhedral data reference and add it to PBB. It is @@ -354,6 +356,7 @@ new_poly_bb (scop_p scop, void *black_box, bool reduction) PBB_ORIGINAL (pbb) = NULL; PBB_DRS (pbb) = VEC_alloc (poly_dr_p, heap, 3); PBB_IS_REDUCTION (pbb) = reduction; + PBB_PDR_DUPLICATES_REMOVED (pbb) = false; VEC_safe_push (poly_bb_p, heap, SCOP_BBS (scop), pbb); } |