aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorAditya Kumar <aditya.k7@samsung.com>2015-08-24 20:53:51 +0000
committerSebastian Pop <spop@gcc.gnu.org>2015-08-24 20:53:51 +0000
commit2a611178d5a983c09fe176db336b986cbaa4d8a3 (patch)
treef8791bfa2a9ac668087bc7a4113f4eb5a27ee617 /gcc/graphite-poly.c
parent9ead801e4deaf9e460b1226ec5f07710e8cb6078 (diff)
downloadgcc-2a611178d5a983c09fe176db336b986cbaa4d8a3.zip
gcc-2a611178d5a983c09fe176db336b986cbaa4d8a3.tar.gz
gcc-2a611178d5a983c09fe176db336b986cbaa4d8a3.tar.bz2
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. From-SVN: r227151
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 dd4fcee..78b5d12 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);