summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-10-17 13:56:14 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-10-17 13:56:14 +0000
commitf371d337de62854ee1a0feae28ea2ce3226f15e7 (patch)
treefcd892219d0b8ade837bb1879a6849565e72528f
parent2d0575364c5e5e1f058f96dfcd83cd40523cbeb3 (diff)
downloadgcc-f371d337de62854ee1a0feae28ea2ce3226f15e7.tar.gz
graphite-dependences.c (scop_get_reads_and_writes): Change output parameters to references.
2017-10-17 Richard Biener <rguenther@suse.de> * graphite-dependences.c (scop_get_reads_and_writes): Change output parameters to references. From-SVN: r253813
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/graphite-dependences.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f1bab5a8c5f..7baed9da49a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-17 Richard Biener <rguenther@suse.de>
+
+ * graphite-dependences.c (scop_get_reads_and_writes): Change
+ output parameters to references.
+
2017-10-17 Jackson Woodruff <jackson.woodruff@arm.com>
PR 71026/tree-optimization
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index 2066b2ea59c..bd3e91ba860 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -67,9 +67,9 @@ add_pdr_constraints (poly_dr_p pdr, poly_bb_p pbb)
reads are returned in READS and writes in MUST_WRITES and MAY_WRITES. */
static void
-scop_get_reads_and_writes (scop_p scop, isl_union_map *reads,
- isl_union_map *must_writes,
- isl_union_map *may_writes)
+scop_get_reads_and_writes (scop_p scop, isl_union_map *&reads,
+ isl_union_map *&must_writes,
+ isl_union_map *&may_writes)
{
int i, j;
poly_bb_p pbb;