summaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-16 17:33:00 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-16 17:33:00 +0000
commita6edabb847a276b9861f38f46cd8975e7697cdcf (patch)
tree65023bf7d48ac549a1a904488f4d56de4aaf8a7b /gcc/graphite-sese-to-poly.c
parent7458b15a04e1236b61d82843e50d04e1acb6bc41 (diff)
downloadgcc-a6edabb847a276b9861f38f46cd8975e7697cdcf.tar.gz
Use refs instead of values.
Passes bootstrap and regtest. gcc/ChangeLog: 2015-12-15 hiraditya <hiraditya@msn.com> * graphite-sese-to-poly.c (build_poly_sr): Use refs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r--gcc/graphite-sese-to-poly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index 43dcb410af5..a0361f96995 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -1056,8 +1056,8 @@ build_poly_sr (poly_bb_p pbb)
{
scop_p scop = PBB_SCOP (pbb);
gimple_poly_bb_p gbb = PBB_BLACK_BOX (pbb);
- vec<scalar_use> reads = gbb->read_scalar_refs;
- vec<tree> writes = gbb->write_scalar_refs;
+ vec<scalar_use> &reads = gbb->read_scalar_refs;
+ vec<tree> &writes = gbb->write_scalar_refs;
isl_space *dc = isl_set_get_space (pbb->domain);
int nb_out = 1;