From e4a452b2150b6b19c6e58612111495bef66156b3 Mon Sep 17 00:00:00 2001 From: Roman Gareev Date: Tue, 8 Jul 2014 13:51:26 +0000 Subject: [PATCH] graphite-isl-ast-to-gimple.c (generate_isl_context): Add __isl_give to the declaration. gcc/ * graphite-isl-ast-to-gimple.c (generate_isl_context): Add __isl_give to the declaration. (generate_isl_schedule): Likewise. (scop_to_isl_ast): Likewise. From-SVN: r212361 --- gcc/ChangeLog | 7 +++++++ gcc/graphite-isl-ast-to-gimple.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ec9aae2b78e..b5ad7bd5a065 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-07-08 Roman Gareev + + * graphite-isl-ast-to-gimple.c (generate_isl_context): + Add __isl_give to the declaration. + (generate_isl_schedule): Likewise. + (scop_to_isl_ast): Likewise. + 2014-07-08 Kyrylo Tkachov * config/arm/arm.c (cortexa5_extra_costs): New table. diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c index 8ba7b759ad49..2bd8250fd78d 100644 --- a/gcc/graphite-isl-ast-to-gimple.c +++ b/gcc/graphite-isl-ast-to-gimple.c @@ -67,7 +67,7 @@ print_isl_ast_node (FILE *file, __isl_keep isl_ast_node *node, /* Generates a build, which specifies the constraints on the parameters. */ -static isl_ast_build * +static __isl_give isl_ast_build * generate_isl_context (scop_p scop) { isl_set *context_isl = isl_set_params (isl_set_copy (scop->context)); @@ -77,7 +77,7 @@ generate_isl_context (scop_p scop) /* Generates a schedule, which specifies an order used to visit elements in a domain. */ -static isl_union_map * +static __isl_give isl_union_map * generate_isl_schedule (scop_p scop) { int i; @@ -102,7 +102,7 @@ generate_isl_schedule (scop_p scop) return schedule_isl; } -static isl_ast_node * +static __isl_give isl_ast_node * scop_to_isl_ast (scop_p scop) { isl_union_map *schedule_isl = generate_isl_schedule (scop); -- 2.47.2