aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-03-13 08:15:06 +0100
committerRichard Biener <rguenther@suse.de>2020-07-01 13:24:16 +0200
commitdeda4625f1befb55a52409de2c7eda325b58e195 (patch)
tree58bb0957563e1b84e9140cf28a56462f0dbcfcef /gcc/system.h
parent4222fd8e94c126dd76fb4c4bc2d69f3262c7bc5a (diff)
downloadgcc-deda4625f1befb55a52409de2c7eda325b58e195.zip
gcc-deda4625f1befb55a52409de2c7eda325b58e195.tar.gz
gcc-deda4625f1befb55a52409de2c7eda325b58e195.tar.bz2
move ILS include to system.h
This moves ISL system header includes to system.h. * system.h (INCLUDE_ISL): New guarded include. * graphite-dependences.c: Use it. * graphite-isl-ast-to-gimple.c: Likewise. * graphite-optimize-isl.c: Likewise. * graphite-poly.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite.c: Likewise. * graphite.h: Drop the includes here.
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 544f7ba..5f740e3 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -736,6 +736,27 @@ extern int vsnprintf (char *, size_t, const char *, va_list);
#endif
#endif
+#ifdef INCLUDE_ISL
+#ifdef HAVE_isl
+#include <isl/options.h>
+#include <isl/ctx.h>
+#include <isl/val.h>
+#include <isl/set.h>
+#include <isl/union_set.h>
+#include <isl/map.h>
+#include <isl/union_map.h>
+#include <isl/aff.h>
+#include <isl/constraint.h>
+#include <isl/flow.h>
+#include <isl/ilp.h>
+#include <isl/schedule.h>
+#include <isl/ast_build.h>
+#include <isl/schedule_node.h>
+#include <isl/id.h>
+#include <isl/space.h>
+#endif
+#endif
+
/* Redefine abort to report an internal error w/o coredump, and
reporting the location of the error in the source file. */
extern void fancy_abort (const char *, int, const char *)
@@ -866,12 +887,10 @@ extern void fancy_abort (const char *, int, const char *)
etc don't spuriously fail. */
#ifdef IN_GCC
-#ifndef USES_ISL
#undef calloc
#undef strdup
#undef strndup
#pragma GCC poison calloc strdup strndup
-#endif
#if !defined(FLEX_SCANNER) && !defined(YYBISON)
#undef malloc