summaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 7a402d3b8a1..4e6919736ce 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -56,6 +56,13 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#ifdef HAVE_cloog
+
+/* The CLooG header file is not -Wc++-compat ready as of 2009-05-11.
+ This #pragma should be removed when it is ready. */
+#if GCC_VERSION >= 4003
+#pragma GCC diagnostic warning "-Wc++-compat"
+#endif
+
#include "cloog/cloog.h"
#include "graphite.h"