aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6')
-rw-r--r--gcc-4.6/gcc/graphite-clast-to-gimple.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/graphite-clast-to-gimple.c b/gcc-4.6/gcc/graphite-clast-to-gimple.c
index 41356dc81..872ea9155 100644
--- a/gcc-4.6/gcc/graphite-clast-to-gimple.c
+++ b/gcc-4.6/gcc/graphite-clast-to-gimple.c
@@ -40,6 +40,10 @@ along with GCC; see the file COPYING3. If not see
#include "graphite-dependences.h"
#include "graphite-cloog-compat.h"
+#ifndef CLOOG_LANGUAGE_C
+#define CLOOG_LANGUAGE_C LANGUAGE_C
+#endif
+
/* This flag is set when an error occurred during the translation of
CLAST to Gimple. */
static bool gloog_error;
@@ -1367,7 +1371,7 @@ set_cloog_options (void)
/* Change cloog output language to C. If we do use FORTRAN instead, cloog
will stop e.g. with "ERROR: unbounded loops not allowed in FORTRAN.", if
we pass an incomplete program to cloog. */
- options->language = LANGUAGE_C;
+ options->language = CLOOG_LANGUAGE_C;
/* Enable complex equality spreading: removes dummy statements
(assignments) in the generated code which repeats the