aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-24 20:53:51 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-24 20:53:51 +0000
commit3ff5d9e7f515f876e2596dc36b8bfc3476878cee (patch)
treef8791bfa2a9ac668087bc7a4113f4eb5a27ee617 /gcc/graphite-poly.c
parent9852e66f47ed7c90b6bc63ecf4cea5ff0f1f3cec (diff)
Specify the type of scop->region
Changing the type of scop::region from void* to sese, as this is the only type assigned to scop::region for now. No functional changes intended. Passes regtest and bootstrap. gcc/ChangeLog: 2015-08-17 Aditya Kumar <aditya.k7@samsung.com> * graphite-poly.c: Change type of region from void* to sese. * graphite-poly.h (struct scop): Changing the type of scop::region from void* to sese. Change accessor macro accordingly. * graphite-sese-to-poly.c (extract_affine_chrec): Use accessor macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r--gcc/graphite-poly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index dd4fcee1522..78b5d121fa2 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -422,7 +422,7 @@ debug_pdr (poly_dr_p pdr, int verbosity)
/* Creates a new SCOP containing REGION. */
scop_p
-new_scop (void *region)
+new_scop (sese region)
{
scop_p scop = XNEW (struct scop);