aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2014-07-08 13:51:26 +0000
committerRoman Gareev <romangareev@gcc.gnu.org>2014-07-08 13:51:26 +0000
commite4a452b2150b6b19c6e58612111495bef66156b3 (patch)
tree2098d03b5ae6a370e6dc65c29ef351e14e7cd012
parentb3771d3f6f91775e9618c1b41b8fed1da632df0d (diff)
downloadgcc-e4a452b2150b6b19c6e58612111495bef66156b3.zip
gcc-e4a452b2150b6b19c6e58612111495bef66156b3.tar.gz
gcc-e4a452b2150b6b19c6e58612111495bef66156b3.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/graphite-isl-ast-to-gimple.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2ec9aae..b5ad7bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2014-07-08 Roman Gareev <gareevroman@gmail.com>
+
+ * 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 <kyrylo.tkachov@arm.com>
* 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 8ba7b75..2bd8250 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);