summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/graphite.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7f4f9e475ad..c19120752b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2009-06-09 Sebastian Pop <sebastian.pop@amd.com>
+ * graphite.c: Revert previous patch.
+
+2009-06-09 Sebastian Pop <sebastian.pop@amd.com>
+
PR bootstrap/40103
* graphite.c: Remove pragma GCC diagnostic warning "-Wc++-compat".
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"