diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2011-01-25 06:48:42 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2011-01-25 06:48:42 +0000 |
commit | 38013f25bc66d8595de8359dd30a0a0e3e0713af (patch) | |
tree | 933e6230946e5166c1b3f024374b966c91aedc64 /gcc/graphite-sese-to-poly.c | |
parent | 5c640e296a195f791a8ace575c967d7e6f1b69e8 (diff) | |
download | gcc-38013f25bc66d8595de8359dd30a0a0e3e0713af.zip gcc-38013f25bc66d8595de8359dd30a0a0e3e0713af.tar.gz gcc-38013f25bc66d8595de8359dd30a0a0e3e0713af.tar.bz2 |
Only copy PBB_DOMAIN when it is initialized.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
when it is initialized.
* gfortran.dg/graphite/id-23.f: New.
From-SVN: r169219
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 88536fe..c6b4385 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -2152,9 +2152,11 @@ new_pbb_from_pbb (scop_p scop, poly_bb_p pbb, basic_block bb) if (VEC_index (poly_bb_p, SCOP_BBS (scop), index) == pbb) break; + if (PBB_DOMAIN (pbb)) + ppl_new_Pointset_Powerset_C_Polyhedron_from_Pointset_Powerset_C_Polyhedron + (&PBB_DOMAIN (pbb1), PBB_DOMAIN (pbb)); + GBB_PBB (gbb1) = pbb1; - ppl_new_Pointset_Powerset_C_Polyhedron_from_Pointset_Powerset_C_Polyhedron - (&PBB_DOMAIN (pbb1), PBB_DOMAIN (pbb)); GBB_CONDITIONS (gbb1) = VEC_copy (gimple, heap, GBB_CONDITIONS (gbb)); GBB_CONDITION_CASES (gbb1) = VEC_copy (gimple, heap, GBB_CONDITION_CASES (gbb)); VEC_safe_insert (poly_bb_p, heap, SCOP_BBS (scop), index + 1, pbb1); |