Add missing HAVE_cloog guards
authorTobias Grosser <tobias@grosser.es>
Sun, 29 Jun 2014 17:51:01 +0000 (17:51 +0000)
committerTobias Grosser <grosser@gcc.gnu.org>
Sun, 29 Jun 2014 17:51:01 +0000 (17:51 +0000)
        * graphite-isl-ast-to-gimple.c: Add missing guards.

From-SVN: r212125

gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c

index 7c34af8b3d5e5dde7da80f66bece165ddb1f2964..22b99b5d5d85a79a7328223ca9009c26a43c880f 100644 (file)
@@ -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:
index 6437474741e417566395a65ce1de2148f981a0b9..8ba7b759ad4913c5d92ed27d9dc0b5f4a99a1e6a 100644 (file)
@@ -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