From 0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Mon, 3 Mar 2014 11:39:22 +0000 Subject: re PR tree-optimization/58028 (Several failures in libgomp.graphite after revision 200946) 2014-03-03 Tobias Grosser Mircea Namolaru PR tree-optimization/58028 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove scalar dimensions. Co-Authored-By: Mircea Namolaru From-SVN: r208273 --- gcc/graphite-clast-to-gimple.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/graphite-clast-to-gimple.c') diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c index 0edeb29..fc60845 100644 --- a/gcc/graphite-clast-to-gimple.c +++ b/gcc/graphite-clast-to-gimple.c @@ -1522,6 +1522,13 @@ set_cloog_options (void) variables. */ options->save_domains = 1; + /* Do not remove scalar dimensions. CLooG by default removes scalar + dimensions very early from the input schedule. However, they are + necessary to correctly derive from the saved domains + (options->save_domains) the relationship between the generated loops + and the schedule dimensions they are generated from. */ + options->noscalars = 1; + /* Disable optimizations and make cloog generate source code closer to the input. This is useful for debugging, but later we want the optimized code. -- cgit v1.1