From: Aditya Kumar Date: Wed, 16 Dec 2015 17:33:00 +0000 (+0000) Subject: Use refs instead of values. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ddb9c8d784858c4c80b7c93762e0e9d7e8b5a3a;p=gcc.git Use refs instead of values. Passes bootstrap and regtest. gcc/ChangeLog: 2015-12-15 hiraditya * graphite-sese-to-poly.c (build_poly_sr): Use refs. From-SVN: r231707 --- 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 reads = gbb->read_scalar_refs; - vec writes = gbb->write_scalar_refs; + vec &reads = gbb->read_scalar_refs; + vec &writes = gbb->write_scalar_refs; isl_space *dc = isl_set_get_space (pbb->domain); int nb_out = 1;