From: romangareev Date: Tue, 8 Jul 2014 13:51:26 +0000 (+0000) Subject: gcc/ X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a667c4fd52e60e520022d7bec37fb9a936e0560;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212361 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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);