aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-06-29 17:51:01 +0000
committerTobias Grosser <grosser@gcc.gnu.org>2014-06-29 17:51:01 +0000
commit7d1ceb93203812df277b0c12ee0248512cb8e992 (patch)
tree589330f2092fc52ff1a9391844dd3e079c58291f /gcc
parentf6cc31036a59d23ee90bf0884981a7f306fc87fd (diff)
downloadgcc-7d1ceb93203812df277b0c12ee0248512cb8e992.zip
gcc-7d1ceb93203812df277b0c12ee0248512cb8e992.tar.gz
gcc-7d1ceb93203812df277b0c12ee0248512cb8e992.tar.bz2
Add missing HAVE_cloog guards
* graphite-isl-ast-to-gimple.c: Add missing guards. From-SVN: r212125
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/graphite-isl-ast-to-gimple.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7c34af8..22b99b5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-29 Tobias Grosser <tobias@grosser.es>
+
+ * graphite-isl-ast-to-gimple.c: Add missing guards.
+
2014-06-29 Roman Gareev <gareevroman@gmail.com>
* Makefile.in:
diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c
index 6437474..8ba7b75 100644
--- a/gcc/graphite-isl-ast-to-gimple.c
+++ b/gcc/graphite-isl-ast-to-gimple.c
@@ -20,10 +20,12 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
+#ifdef HAVE_cloog
#include <isl/set.h>
#include <isl/map.h>
#include <isl/union_map.h>
#include <isl/ast_build.h>
+#endif
#include "system.h"
#include "coretypes.h"
@@ -41,6 +43,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-data-ref.h"
#include "sese.h"
+#ifdef HAVE_cloog
#include "graphite-poly.h"
#include "graphite-isl-ast-to-gimple.h"
@@ -131,3 +134,4 @@ graphite_regenerate_ast_isl (scop_p scop)
timevar_pop (TV_GRAPHITE_CODE_GEN);
return !graphite_regenerate_error;
}
+#endif