diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-12 01:26:45 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-12 01:26:45 +0000 |
commit | ebbdcbb37a16b055826f2d5d31e843607b8f4df5 (patch) | |
tree | b36a6125eb6c3ca5fb7425233887ac7d9bd04ceb | |
parent | 8420c5e69d90fde3c3fafe5e9fb80cad6cf4b309 (diff) | |
download | gcc-ebbdcbb37a16b055826f2d5d31e843607b8f4df5.tar.gz |
PR bootstrap/40103
* graphite.c: Force -Wc++-compat to only be a warning before
#including "cloog/cloog.h".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147407 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/graphite.c | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f01457d81c1..66313957489 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-11 Ian Lance Taylor <iant@google.com> + + PR bootstrap/40103 + * graphite.c: Force -Wc++-compat to only be a warning before + #including "cloog/cloog.h". + 2009-05-11 Martin Jambor <mjambor@suse.cz> * ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false. diff --git a/gcc/graphite.c b/gcc/graphite.c index e106f480cbc..6b497a808f7 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" |