OSDN Git Service

2009-06-09 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jun 2009 18:20:52 +0000 (18:20 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jun 2009 18:20:52 +0000 (18:20 +0000)
* graphite.c: Revert previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148321 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/graphite.c

index 7f4f9e4..c191207 100644 (file)
@@ -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".
 
index 7a402d3..4e69197 100644 (file)
@@ -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"