diff options
author | David Edelsohn <dje@gcc.gnu.org> | 2015-11-23 09:23:59 -0500 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2015-11-23 09:23:59 -0500 |
commit | 4d776011993936d5e17421abe228b856f8e5e748 (patch) | |
tree | 8b552b61a1b1ac6b4ce298f12409fda5177e3c16 /gcc/graphite.c | |
parent | 546e500c8f90f9adf4187d07f8e6d33d82194f3c (diff) | |
download | gcc-4d776011993936d5e17421abe228b856f8e5e748.zip gcc-4d776011993936d5e17421abe228b856f8e5e748.tar.gz gcc-4d776011993936d5e17421abe228b856f8e5e748.tar.bz2 |
Correct graphite*.c ISL header file inclusion order.
* system.h: Don't poison calloc and strdup if USES_ISL is defined.
* graphite-dependences.c: Define USES_ISL. Include ISL header files
after GCC header files and before graphite header files.
* graphite-dependences.c: Same.
* graphite-isl-ast-to-gimple.c: Same.
* graphite-optimize-isl.c: Same.
* graphite-poly.c: Same.
* graphite-scop-detection.c: Same.
* graphite-sese-to-poly.c: Same.
* graphite.c: Same.
From-SVN: r230759
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 5316bc4..c2efdc9 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -27,19 +27,9 @@ along with GCC; see the file COPYING3. If not see The wiki page http://gcc.gnu.org/wiki/Graphite contains pointers to the related work. */ -#include "config.h" - -#ifdef HAVE_isl -/* Workaround for GMP 5.1.3 bug, see PR56019. */ -#include <stddef.h> - -#include <isl/constraint.h> -#include <isl/set.h> -#include <isl/map.h> -#include <isl/options.h> -#include <isl/union_map.h> -#endif +#define USES_ISL +#include "config.h" #include "system.h" #include "coretypes.h" #include "backend.h" @@ -59,10 +49,17 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-loop.h" #include "tree-data-ref.h" #include "tree-scalar-evolution.h" -#include "graphite-poly.h" #include "dbgcnt.h" #include "tree-parloops.h" #include "tree-cfgcleanup.h" + +#include <isl/constraint.h> +#include <isl/set.h> +#include <isl/map.h> +#include <isl/options.h> +#include <isl/union_map.h> + +#include "graphite-poly.h" #include "graphite-scop-detection.h" #include "graphite-isl-ast-to-gimple.h" #include "graphite-sese-to-poly.h" |