aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-28 23:47:05 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-05-28 23:47:05 +0000
commitaccf9ad64aac122eee74d485245901daa276542a (patch)
treec2fe7c64d894207bf2608a7540c61354d1552b05 /gcc
parent59cc9210fc47a5b2af679803c65669e7e501f0ab (diff)
downloadgcc-accf9ad64aac122eee74d485245901daa276542a.zip
gcc-accf9ad64aac122eee74d485245901daa276542a.tar.gz
gcc-accf9ad64aac122eee74d485245901daa276542a.tar.bz2
c-lex.c: Do not include c-tree.h.
* c-lex.c: Do not include c-tree.h. * c-pretty-print.c: Likewise. * c-opts.c: Likewise. * c-gimplify.c: Likewise. * c-common.c: Likewise. * c-dump.c: Likewise. Include c-common.h. From-SVN: r160008
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/c-common.c1
-rw-r--r--gcc/c-dump.c2
-rw-r--r--gcc/c-gimplify.c1
-rw-r--r--gcc/c-lex.c1
-rw-r--r--gcc/c-opts.c1
-rw-r--r--gcc/c-pretty-print.c1
7 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e87c762..93871ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2010-05-29 Steven Bosscher <steven@gcc.gnu.org>
+ * c-lex.c: Do not include c-tree.h.
+ * c-pretty-print.c: Likewise.
+ * c-opts.c: Likewise.
+ * c-gimplify.c: Likewise.
+ * c-common.c: Likewise.
+ * c-dump.c: Likewise. Include c-common.h.
+
+2010-05-29 Steven Bosscher <steven@gcc.gnu.org>
+
* c-common.h (GCC_DIAG_STYLE): Define earlier in the file,
before including diagnostic-core.h.
(c_cpp_error): New prototype moved from c-tree.h.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 3286347..b20c4d2 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "langhooks.h"
#include "tree-inline.h"
-#include "c-tree.h"
#include "toplev.h"
#include "diagnostic.h"
#include "tree-iterator.h"
diff --git a/gcc/c-dump.c b/gcc/c-dump.c
index f970b39..71e872e 100644
--- a/gcc/c-dump.c
+++ b/gcc/c-dump.c
@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
-#include "c-tree.h"
#include "tree-dump.h"
+#include "c-common.h"
/* Dump information common to statements from STMT. */
diff --git a/gcc/c-gimplify.c b/gcc/c-gimplify.c
index 2ef81c6..06963a0 100644
--- a/gcc/c-gimplify.c
+++ b/gcc/c-gimplify.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
-#include "c-tree.h"
#include "c-common.h"
#include "gimple.h"
#include "basic-block.h"
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 5d77e09..09d00fb 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "input.h"
#include "output.h"
-#include "c-tree.h"
#include "c-common.h"
#include "flags.h"
#include "timevar.h"
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index d1cb317..b485c25 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "options.h"
#include "mkdeps.h"
#include "target.h" /* For gcc_targetcm. */
-#include "c-tree.h" /* For c_cpp_error. */
#ifndef DOLLARS_IN_IDENTIFIERS
# define DOLLARS_IN_IDENTIFIERS true
diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c
index b9f9953..ff9f676 100644
--- a/gcc/c-pretty-print.c
+++ b/gcc/c-pretty-print.c
@@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "c-pretty-print.h"
#include "tree-pretty-print.h"
-#include "c-tree.h"
#include "tree-iterator.h"
#include "diagnostic.h"